XML 127 R107.htm IDEA: XBRL DOCUMENT v3.22.0.1
Income taxes - Income (Loss) Before Taxes (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes $ 142,232 $ 792,411
Canada    
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes (60,848) 622,776
U.S.    
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes 153,719 165,431
Other regions    
Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items]    
Income/(loss) before taxes $ 49,361 $ 4,204