v3.26.1
Income taxes - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Income Taxes [Line Items]          
Income tax expense $ 45,747 $ 47,884 $ 92,683 $ 92,947  
Decrease in income tax expense $ 2,200        
Effective tax rate 14.10% 18.50% 15.00% 19.30%  
Statutory tax rate 37.50% 37.50% 37.50% 37.50%  
Net deferred tax assets (net of valuation allowance) $ 794,693   $ 794,693   $ 814,265
Valuation allowance 470,565   470,565   464,740
Net deferred tax asset 794,043   794,043   812,318
Puerto Rico          
Income Taxes [Line Items]          
Deferred tax assets         658,900
Valuation allowance 83,979   83,979   78,153
Net deferred tax asset 574,882   574,882   584,097
United States          
Income Taxes [Line Items]          
Deferred tax assets 605,800   605,800    
Valuation allowance 386,586   386,586   386,587
Net deferred tax asset 219,161   219,161   228,221
Location, Statement of Financial Position, Balance [Axis]: us-gaap:AccruedLiabilitiesAndOtherLiabilities          
Income Taxes [Line Items]          
Deferred tax liabilities, net 649   649   1,900
Location, Statement of Financial Position, Balance [Axis]: us-gaap:OtherAssets          
Income Taxes [Line Items]          
Net deferred tax assets (net of valuation allowance) $ 794,700   $ 794,700   $ 814,200