XML 102 R88.htm IDEA: XBRL DOCUMENT v3.20.4
Income taxes - Loss from operations before tax (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Income Tax Disclosure [Abstract]      
Domestic $ (452,475) $ (231,915) $ (68,461)
Foreign 49,543 (8,011) (59,649)
Total $ (402,932) $ (239,926) $ (128,110)