JSFiddle - React, Tailwind, and code Playground

HTML

<header class="header">

  <div class="text text-1">text</div>
  <a class="logo" href="">
    <img src="https://i.ibb.co/zmtszpK/Log0.png" width="200" alt="">
  </a>
  <div class="text text-2">text</div>
</header>

CSS

@import url('https://fonts.googleapis.com/css2?family=Neucha&display=swap');


* {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Neucha', cursive;
}

img {
  max-width: 100%;
}

.header {
  width: 80%;
  margin: auto;
  background: #eee;
}

.text {
  font-size: 30px;
  text-align: center;
}

.logo {
  display: block;
  width: 200px;
  margin: 0 auto;
}


@media (min-width: 800px) {
  .header {
    display: grid;
    grid-template-columns: 1fr min-content 1fr;
    width: 80%;
    margin: auto;
  }

  .text-1 {
    text-align: left;
  }

  .text-2 {
    text-align: right;
  }
}