XML 140 R118.htm IDEA: XBRL DOCUMENT v3.24.0.1
Income taxes - Income (Loss) Before Taxes (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes $ (119,605) $ (369,668)
Canada    
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes (259,141) (363,050)
U.S.    
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes 102,469 (37,322)
Other regions    
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes $ 37,067 $ 30,704