XML 73 R63.htm IDEA: XBRL DOCUMENT v3.22.2
Convertible Senior Notes and Capped Call Transactions - Schedule of Interest Expense Incurred (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 issuance costs     $ 1,885 $ 1,228
Accretion of debt discount on convertible senior notes     0 16,374
Convertible Senior Notes | Convertible Debt        
Debt Instrument [Line Items]        
Contractual interest expense $ 432 $ 432 863 863
Amortization of debt issuance costs 944 619 1,885 1,228
Accretion of debt discount on convertible senior notes 0 8,256 0 16,374
Total interest expense $ 1,376 $ 9,307 $ 2,748 $ 18,465