Convertible Senior Notes, Net - Schedule of Net Carrying Amount of Equity Component of Notes (Details) $ in Thousands |
Dec. 31, 2021
USD ($)
|
---|---|
2025 Convertible Senior Notes as as Equity Component | |
Debt Disclosure [Line Items] | |
Proceeds allocated to the conversion options (debt discount) | $ 19,787 |
Issuance costs | (767) |
Net carrying amount | 19,020 |
2028 Convertible Senior Notes as as Equity Component | |
Debt Disclosure [Line Items] | |
Proceeds allocated to the conversion options (debt discount) | 96,162 |
Issuance costs | (3,131) |
Net carrying amount | $ 93,031 |