XML 83 R63.htm IDEA: XBRL DOCUMENT v3.24.0.1
Income taxes - Components of Loss Before Provision for Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Income Tax Disclosure [Abstract]      
United States $ 20,713 $ 29,108 $ 331,447
Foreign (37,153) (115,052) (10,476)
Income (loss) before provision for income taxes $ (16,440) $ (85,944) $ 320,971