Buy now, pay later firm Klarna will let go of 10% of its workforce globally as the company suffers amid a global downturn.