Manual:$wgLogo

Details
The URL of the site logo (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations). Either a fully-qualified URL or a relative path from DOCUMENT_ROOT. The logo is expected to be 135 x 135 pixels, but this can be increased by modifying the site CSS (and smaller sizes are possible with no changes).

If it's a relative path, it has to start with a slash (a file in DOCUMENT_ROOT is /file.png, not file.png).

Do not simply overwrite the default logo installed with MediaWiki ; this file will automatically be overwritten when you upgrade and your changes will be lost.