Both options are not the best.
The background image will not be visible to users of screen readers and search engines will have hands through ARIA to describe what this logo is and what it means.
If you have all the logo picture - make background not necessary, but if you have a logo and it's text description, and the picture - well, just what a brand icon - it is okay, can be in the background to shove, only should not forget to describe the alt for the image, because without it it is useless.
// strong will not aktsentiroval attention to the karinka that would highlight the logo, you can do so (the logo is there
<h1 class="title"><span class="title__text">the Web<br>Standards<br>Days</span></h1>