I thought you should never, ever give your passport to anyone, especially for collateral. Right?
This entirely depends on your situation, for example I don't think there are many places where it'd be a huge deal for a white westerner to lose their passport.
Though, yeah, in Germany at least it's quite easy to replace passports