Debt - Interest Expense Related to the Convertible Senior Notes (Details) - Convertible Debt - Convertible Senior Notes - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2022 |
Sep. 30, 2021 |
Sep. 30, 2022 |
Sep. 30, 2021 |
|
| Debt Instrument [Line Items] | ||||
| Contractual interest expense | $ 250 | $ 250 | $ 750 | $ 536 |
| Amortization of debt discount and issuance costs | 572 | 572 | 1,716 | 1,227 |
| Total interest expense | $ 822 | $ 822 | $ 2,466 | $ 1,763 |
| Effective interest rate | 0.82% | 0.82% | 0.82% | 0.82% |
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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. No definition available.
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|