Oh, did you click the beds along the way? They act as check points if you lose your lives. If you run out of time, then you do start back at the beginning though.
Thanks for playing!
Good luck with the jam!