I changed the save system from v1 to v2 - no data could be restored but future savings should be robust now. Make sure you are playing on the latest build v0.1g.
I know this is frustating when something get´s reset. This is a really early build, so it might happen again (but i hope not)
With the help of players (here and on discord) i already could pinpoint and fix a lot of bugs. Thanks for taking your time, giving feedback and play the game!
Maybe the reset happend because you had 2 tabs of the game open? Or do you have an option on that automaticly deletes browser cookies after a while?