// Real Migronis wordmark (from cdn.migronis.com/img/headerLogo.svg).
// All paths use fill="currentColor" so the colour is driven by the parent's
// CSS `color` — white in the dark header, ink on light surfaces.
function MigronisLogo({ height = 24, color, style }) {
  return (
    <svg viewBox="0 0 459 79" height={height} role="img" aria-label="Migronis"
         style={{ display: 'block', color, ...style }} fill="none"
         xmlns="http://www.w3.org/2000/svg">
      <path d="M425 50.5L420 57.5C420 57.5 427.5 65 440.5 65C454 65 459 56 459 50.5C459 44.5 456 38.6316 446 36C436.5 33.5 431.5 33 431.5 28C431.5 25 435 22.5 440.5 22.5C446 22.5 452 26.5 452 26.5L457 20C457 20 451.5 14 440 14C427.5 14 421.5 21 421.5 28C421.5 35.5 426.5 40.375 435 42.5C445 45 449 46 449 50.5C449 53 446.5 56 440.5 56C431 56 425 50.5 425 50.5Z" fill="currentColor"/>
      <path d="M212 45V36H236V39.5C236 54.5 224.5 65 210.5 65C196.5 65 185 53.5 185 39.5C185 25.5 196.5 14 210.5 14C224.5 14 230.5 24 230.5 24L223 30C222 28.5 218 24 210.5 24C202 24 195 31 195 39.5C195 48 202 55 210.5 55C219 55 224.5 47 224.5 45H212Z" fill="currentColor"/>
      <path d="M102 64V15H114L128 40L142 15H154V64H144V32L131 55H125L112 32V64H102Z" fill="currentColor"/>
      <rect x="165" y="15" width="10" height="49" fill="currentColor"/>
      <rect x="401" y="15" width="10" height="49" fill="currentColor"/>
      <path fillRule="evenodd" clipRule="evenodd" d="M244 64H254V47H259L271 64H282L270 46C274 46 281 40 281 31C281 22 275 15 267 15H244V64ZM264 24H254V38H264C267.866 38 271 34.866 271 31C271 27.134 267.866 24 264 24Z" fill="currentColor"/>
      <path fillRule="evenodd" clipRule="evenodd" d="M313.5 65C327.583 65 339 53.5833 339 39.5C339 25.4167 327.583 14 313.5 14C299.417 14 288 25.4167 288 39.5C288 53.5833 299.417 65 313.5 65ZM313.5 54.2115C321.625 54.2115 328.212 47.625 328.212 39.5C328.212 31.375 321.625 24.7885 313.5 24.7885C305.375 24.7885 298.788 31.375 298.788 39.5C298.788 47.625 305.375 54.2115 313.5 54.2115Z" fill="currentColor"/>
      <path d="M358 64H348V15H358L380 46.5V15H390V64H380L358 31.5V64Z" fill="currentColor"/>
      <path d="M78.7384 44.0703C78.9112 42.5708 79 41.0458 79 39.5C79 37.4124 78.8381 35.3626 78.526 33.3625C61.8951 24.1171 46.6771 29.7557 39.1238 33.812C23.0898 42.4228 10.2118 43.7294 0.00682548 38.7582C0.00228178 39.0049 0 39.2522 0 39.5C0 42.8404 0.414639 46.0839 1.19526 49.1819C15.2401 55.7051 30.6481 50.1309 38.2548 45.1091C46.3605 39.7578 61.4432 35.2687 78.7384 44.0703Z" fill="currentColor"/>
      <path d="M77.6578 49.7472C62.3241 42.303 49.7839 45.0461 42.2048 48.9822C41.5084 49.3438 40.7494 49.7586 39.9297 50.2066C32.3961 54.3241 19.7337 61.2444 3.36819 55.4851C5.14376 59.4926 7.56649 63.1495 10.5038 66.3232C23.1683 68.4522 32.6201 65.4341 39.5978 61.1459C47.1115 56.5282 59.3552 53.6164 73.717 59.2476C75.4216 56.3004 76.7564 53.1124 77.6578 49.7472Z" fill="currentColor"/>
      <path d="M70.5582 63.9084C59.6136 59.6376 47.9376 62.562 40.8618 66.5179C34.0198 70.3429 27.5622 73.5644 17.8396 72.5368C24.0593 76.623 31.5021 79 39.5 79C52.1021 79 63.3258 73.0985 70.5582 63.9084Z" fill="currentColor"/>
      <path d="M0.649389 32.3286C11.3183 39.315 31.1405 32.2499 38.0968 28.3609C38.2243 28.2897 38.353 28.2176 38.483 28.1448L38.4836 28.1445C45.632 24.1415 56.7714 17.9037 76.7042 26.1979C74.931 21.239 72.1945 16.7381 68.7201 12.9208C55.8209 8.71265 46.6709 12.774 39.1238 16.827C23.5915 25.1683 11.0208 24.412 4.25227 21.6529C2.56971 24.9694 1.34145 28.5553 0.649389 32.3286Z" fill="currentColor"/>
      <path d="M8.21833 15.3782C18.9498 19.0104 31.063 15.3244 37.7018 11.613C37.9712 11.4624 38.2367 11.3134 38.4989 11.1662C44.8282 7.61343 49.2631 5.12401 61.6183 6.76864C55.3075 2.49574 47.6952 0 39.5 0C26.7674 0 15.4419 6.02439 8.21833 15.3782Z" fill="currentColor"/>
    </svg>
  );
}

window.MigronisLogo = MigronisLogo;
