Ledger lays off 12% of staff, citing ‘macroeconomic headwinds’