Debt - Long-Term Debt (Details) - USD ($) $ in Thousands |
Sep. 30, 2023 |
Dec. 31, 2022 |
|---|---|---|
| Debt Instrument [Line Items] | ||
| Less: unamortized debt discount and issuance costs | $ (46,678) | $ (17,666) |
| Total debt | 883,090 | 936,144 |
| Less: current portion of long-term debt | (4,966) | (7,580) |
| Total long-term debt | 878,124 | 928,564 |
| Term loan facilities | ||
| Debt Instrument [Line Items] | ||
| Net carrying amount | 377,150 | 566,622 |
| Revolving facility | ||
| Debt Instrument [Line Items] | ||
| Net carrying amount | 20,000 | 0 |
| Convertible senior notes | ||
| Debt Instrument [Line Items] | ||
| Net carrying amount | 527,000 | 380,000 |
| Deferred government grant obligations | ||
| Debt Instrument [Line Items] | ||
| Net carrying amount | 3,500 | 3,500 |
| Other borrowings | ||
| Debt Instrument [Line Items] | ||
| Net carrying amount | $ 2,118 | $ 3,688 |
| X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|