The maker of the world’s coolest hats is heading toward bankruptcy