if the png lies directly in your theme folder try this:
img src="https://wordpress.stackexchange.com/questions/264471/<?php echo get_template_directory_uri(); ?>/logo.png"
if the png lies directly in your theme folder try this:
img src="https://wordpress.stackexchange.com/questions/264471/<?php echo get_template_directory_uri(); ?>/logo.png"