/* The supplied logo has transparent padding around the centered artwork. */
.customer-logo {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.customer-logo-large {
  width: 96px;
  height: 60px;
}

/* On dark brand panels, isolate the original colored mark and make only the
   company lettering white. The two images are the exact same customer PNG.
   The 58% split lands in the transparent gap between the mark and lettering. */
.customer-logo-on-dark,
.admin-brand > .customer-logo-on-dark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 76px;
  height: 47.5px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.customer-logo-on-dark.customer-logo-large {
  width: 112px;
  height: 70px;
}

.customer-logo-on-dark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.customer-logo-on-dark .logo-color-mark {
  clip-path: inset(0 0 42% 0);
}

.customer-logo-on-dark .logo-light-wordmark {
  clip-path: inset(58% 0 0);
  filter: brightness(0) invert(1);
}
