@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .header-inner > .logo {
    justify-self: center;
    width: min(var(--logo-width, 190px), 40vw);
  }

  .header-actions {
    min-width: 0;
  }
}
