XML 106 R84.htm IDEA: XBRL DOCUMENT v3.22.4
Income taxes - Loss from operations before tax (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Disclosure [Abstract]      
Domestic $ (591,126) $ (487,726) $ (452,475)
Foreign 3,639 (30,614) 49,543
Loss before income tax expense $ (587,487) $ (518,340) $ (402,932)