XML 61 R50.htm IDEA: XBRL DOCUMENT v3.22.2
Income taxes - Schedule of income (loss) before income taxes, income tax (expense) benefit and effective income tax (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Income Tax Disclosure [Abstract]        
(Loss) income before benefit from (provision for) income taxes $ (233,721) $ 61,866 $ 688,186 $ (106,849)
Benefit from (provision for) income taxes $ 157,228 $ (53) $ (246,058) $ (249)
Effective tax rate 67.30% 0.10% 35.80% (0.20%)