XML 445 R126.htm IDEA: XBRL DOCUMENT v3.24.0.1
Income taxes - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Income Tax Disclosure [Line Items]      
Effective tax rate 17.40% (201.20%) 11.80%
Offset percentage of future taxable income 80.00%    
Deferred tax assets, operating loss carryforwards, foreign $ 506,673    
Deferred tax assets, operating loss carryforwards, subject to expiration $ 170,294    
Foreign tax rate differential (12.10%) (25.50%) (33.80%)
Tax (benefit) provision $ 115,513 $ (123,439) $ 12,461
Deferred Tax Assets, Operating Loss Carryforwards, Not Subject to Expiration $ 336,379    
Minimum      
Income Tax Disclosure [Line Items]      
Tax examinations open period in other foreign jurisdictions 4 years    
Maximum      
Income Tax Disclosure [Line Items]      
Tax examinations open period in other foreign jurisdictions 6 years    
United States      
Income Tax Disclosure [Line Items]      
Operating loss carryforwards $ 8,015    
State and Local Jurisdiction      
Income Tax Disclosure [Line Items]      
Operating loss carryforwards 9,021    
Internal Revenue Service (IRS)      
Income Tax Disclosure [Line Items]      
Operating loss carryforwards annual limitation $ 5,431    
Puerto Rico      
Income Tax Disclosure [Line Items]      
Effective tax rate 4.00%    
Foreign tax rate differential 4.00%    
Tax (benefit) provision $ 164,668 $ 10,605  
Income (loss) from continuing operations, per diluted share (in dollars per share) $ 0.80 $ 0.05