// Labrynth brand mark — official logo PNG.
// Per brand guidelines: don't alter colors, don't stretch.

function LabrynthMark({ size = 22, className = 'nav-brand-mark', alt = 'Labrynth', gradient = false }) {
  const w = Math.round(size * 1.105);
  if (gradient) {
    return (
      <span
        role="img"
        aria-label={alt}
        className={className}
        style={{ width: w, height: size }}
      />
    );
  }
  return (
    <img
      src="/assets/labrynth-logo.png"
      alt={alt}
      className={className}
      width={w}
      height={size}
      draggable="false"
    />
  );
}

Object.assign(window, { LabrynthMark });
