Income taxes - Income Tax Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
| Income Tax Disclosure [Abstract] | ||||
| Income tax (benefit) expense | $ 5,960 | $ (270,228) | $ 6,019 | $ (280,679) |
| Current Foreign Tax Expense (Benefit) | 5,800 | 2,000 | 7,700 | 400 |
| Other Tax Expense (Benefit) | 100 | 200 | 200 | 500 |
| Income Tax Effects Allocated Directly to Equity, Other | $ 100 | $ 4,700 | 1,700 | 4,700 |
| Unrecognized Tax Benefits, Increase Resulting from Settlements with Taxing Authorities | $ 12,600 | |||
| Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions | $ 400 | |||
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The tax effect of items occurring during the period that have been charged or credited directly to components of shareholders' equity and are not otherwise defined. No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of other income tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from settlements with taxing authorities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|