Question:
Tell me where to find the location of the logo in the WordPress template code
Answer:
The logo can be configured quite flexibly in the template settings.
But if you really need it, the code responsible for displaying the logo is in the file - header.php