Do you only want to display a logo and not a site title in WordPress?
To do that go to your site dashboard > Appearance > Customize > Site Identity and choose the option “Header Logo Only”.
Never remove the Site Title entirely.
Site Title is used on the email subject sent by WordPress and many other places that can look your site broke. So, removing the site title is a bad idea.
For example, the email subject when someone commented on your blog post will look like this:
 Comment: "Common issues while setting up PHP Unit Tests for WordPress plugins"
Note the weird-looking
. You would also don’t know which site is sending the email.