XML 134 R69.htm IDEA: XBRL DOCUMENT v3.22.0.1
Income taxes - Schedule of Income (Loss) before Income Taxes, Domestic and Foreign (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Income Tax Disclosure [Abstract]      
United States (U.S.) $ 82,249 $ (15,283) $ (87,925)
Non-U.S. (134,324) 33,385 79,101
Income (loss) before income taxes $ (52,075) $ 18,102 $ (8,824)