/**
 * Logo Component
 * Pixel-perfect implementation based on Figma design
 */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 94px;
    height: 21px;
    padding: 0 3px 4px 0;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--color-content);
    transition: color 0.2s ease;
}

.logo:hover {
    text-decoration: none;
}

.logo__mark {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    line-height: 0;
    vertical-align: middle;
}

.logo__mark--rotate {
    animation: rotateLogo 0.3s ease-out;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo__mark svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
    color: inherit;
}

.logo__mark img {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
    vertical-align: top;
    color: inherit;
}

/* Ensure SVG inherits color from parent */
.logo__mark img[src$=".svg"] {
    filter: none;
}

.logo__text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px; /* body-3-desktop - always desktop size */
    line-height: var(--line-height-body-3-desktop); /* 120% */
    color: inherit;
    white-space: nowrap;
}
