If I have:
#logo { width: 400px; height: 200px; }
then
2017 answer
CSS object fit works in all current browsers. It allows the img element to be larger without stretching the image.
img
You can add object-fit: cover; to your CSS.
object-fit: cover;