Custom Logo

Hi there,
when I upload my custom logo I’m always forced to crop it even when it is 520 x 236 as you suggest in documentation.
Result is that my logo is very small or cropped.
How can I have a logo that that fit max size?