The head-search module doesn't fit because the normal logo is too wide. That's why I defined a "small logo" for the mobile screens. However, the template still uses the same amount of space. I just leaves a wide gap behind the small logo, making the search module break.