.spr-header-lockup {
  display: inline-flex;
  align-items: center;
  width: var(--spr-header-logo-width, 142px);
  max-width: 100%;
  vertical-align: middle;
}

.spr-header-lockup > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* The SVG artboard already fits the complete mark, including its period. */
.feed-header .feed-brand:has(.spr-header-lockup),
.feed-brand .spr-header-lockup,
body.spr-person-page > .spr-person-header .spr-wordmark {
  width: var(--spr-header-logo-width, 142px);
  max-width: 100%;
}

body.spr-person-page > .spr-person-header .spr-wordmark {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  overflow: visible;
}

body.spr-person-page > .spr-person-header .spr-header-lockup,
.feed-brand .spr-header-lockup img,
.spr-compact-article .compact-article-header .feed-brand .spr-header-lockup img,
body.spr-person-page > .spr-person-header .spr-wordmark .spr-header-lockup img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  transform: none;
}

/* The owner can reach notifications, editing and sharing even at 320px. */
body.spr-person-profile-home > .spr-person-header:has(.spr-profile-edit) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.spr-profile-header-actions { margin-inline-start: auto; }
@media (max-width: 380px) {
  body.spr-person-profile-home > .spr-person-header:has(.spr-profile-edit) .spr-wordmark { width: 120px; }
  .spr-profile-header-actions { gap: 4px; }
  .spr-profile-header-actions .spr-profile-edit { gap: 4px; padding-inline: 8px; }
}
