header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  justify-self: start;
  align-items: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.corporate-logo {
  display: block;
  justify-self: center;
  width: min(180px, 24vw);
  height: auto;
}

.badge {
  justify-self: end;
}

@media (max-width: 600px) {
  header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand badge"
      "logo logo";
    row-gap: 12px;
  }

  .brand {
    grid-area: brand;
  }

  .corporate-logo {
    grid-area: logo;
    width: min(135px, 45vw);
  }

  .badge {
    grid-area: badge;
  }
}
