.brand-mark {
  display: block;
  flex: 0 0 42px;
  height: 42px;
  overflow: hidden;
  position: relative;
  width: 42px;
}

.brand .brand-mark img {
  height: auto;
  left: 0;
  max-width: none;
  position: absolute;
  top: 0;
  width: 138px;
}

.brand > img { display: none; }
.brand:has(> img)::before {
  background: url("/images/altezza-logo.png") 0 0 / 138px auto no-repeat;
  content: "";
  flex: 0 0 42px;
  height: 42px;
  width: 42px;
}
