XML 120 R103.htm IDEA: XBRL DOCUMENT v3.23.1
Income taxes - Schedule of company's income before income taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest [Abstract]      
Domestic $ (45,701) $ (80,658) $ (144,412)
Foreign 154,023 143,015 191,240
Income before income taxes $ 108,322 $ 62,357 $ 46,828