/* Shared brand/logo lock — text-only wordmark in header */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 46px;
  flex: 0 0 auto;
  max-width: min(240px, 72vw);
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-mark {
  display: none;
}

.logo-text {
  display: block;
  font-family: 'DM Sans', 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #00C982;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-image {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(200px, 62vw);
  aspect-ratio: 520 / 100;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

@media (max-width: 540px) {
  .logo {
    height: 42px;
    max-width: min(220px, 78vw);
  }

  .logo-text {
    font-size: 1.08rem;
  }

  .logo-image {
    height: 32px;
    max-width: min(175px, 70vw);
  }
}
