v3.23.3
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