You need to share the code but generally, if you do something like this it should work.
<header>
<img src="...">
<span>Bla Bla</span>
</header>
A better way, in my opinion, would be to use CSS. You can simply use float or flexbox, grids, etc, to achieve that. I do recommend that you use flexboxes.
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
<header class="container">
<div class="item">
<!-- logo -->
</div>
<div class="item fill">
<!-- title -->
</div>
<div class="item center">
<!-- menu -->
</div>
</header>
.container {
display: flex;
}
.item {
align-self: center;
}
.item.fill {
flex-grow: 1;
}