Manual:$wgVectorResponsive

Details
Improves the user experience for the skin on low-resolution displays. Essentially places the navigation menu below the content, instead of to the side of it. Also hides the logo, as there's no space left for it.

Since 1.36, the setting only works in Vector v2; that is, must be set to   (which is the default).