.root {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    min-width: 0;
    vertical-align: middle;
}

.logo,
.fallback {
    border: 1px solid color-mix(in srgb, var(--border, #d9e2ef) 80%, transparent);
    border-radius: 7px;
    box-shadow: 0 1px 3px rgb(15 23 42 / 10%);
    flex: 0 0 auto;
    object-fit: cover;
}

.fallback {
    align-items: center;
    background: linear-gradient(145deg, #e8f1ff, #f7faff);
    color: var(--primary, #2557d6);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
}

.small .logo,
.small .fallback {
    height: 22px;
    width: 22px;
}

.medium .logo,
.medium .fallback {
    height: 28px;
    width: 28px;
}

.large .logo,
.large .fallback {
    border-radius: 9px;
    height: 36px;
    width: 36px;
}

.name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
