In simple: That much you can afford to lose.
Imagine worst possible scenario could happen in future: A total collapse.
Say a major flaw is found in BTC (ETH) protocol. Exploited so much eventually making coins worthless (nobody is buying anymore and you are unable to cashout into fiat).
aka
your crypto holdings value turns into $0.
Put in only that much so you can say something like: "Hmm, that was an interesting experiment. Shame it failed but I can move on." should the above happen.
I hope this won't get into anyone's head, this is the same kind of thoughts that stopped many from investing into BTC in 2010, spreading rumours of a sudden death of the technology, yea anything is possible but I won't wait around for such to happen because the chances it's too slim.