XML 65 R52.htm IDEA: XBRL DOCUMENT v3.24.3
Income taxes - Schedule of Pre-tax Net (Loss) Income and Income Tax (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Sep. 30, 2024
Sep. 30, 2023
Income Tax Disclosure [Abstract]        
(Loss) income before income taxes $ (26,083) $ 13,576 $ (113,859) $ (4,850)
(Benefit) provision for income taxes $ (6,429) $ 16,144 $ (23,154) $ 148
Effective tax rate (as a percent) 24.60% 118.90% 20.30% (3.10%)