XML 59 R49.htm IDEA: XBRL DOCUMENT v3.22.2
Debt - Schedule of Interest Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Debt Instrument [Line Items]        
Amortization of debt discounts and issuance costs $ 1,169 $ 17,343 $ 2,337 $ 34,525
Capitalization of interest expense (78) (883) (127) (1,808)
Total interest expense 2,932 18,037 5,627 35,871
Credit Agreement        
Debt Instrument [Line Items]        
Interest on debt instruments 404 140 543 280
Convertible Debt | 2025 Notes        
Debt Instrument [Line Items]        
Interest on debt instruments 359 359 718 718
Convertible Debt | 2027 Notes        
Debt Instrument [Line Items]        
Interest on debt instruments $ 1,078 $ 1,078 $ 2,156 $ 2,156