v3.22.2.2
Debt - Summary of Outstanding Note Balances (Details) - Convertible Senior Secured Notes due 2024 - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Dec. 24, 2019
Debt Instrument [Line Items]      
Principal $ 207,000 $ 207,000  
Less: debt discount and debt issuance costs, net (44,240) (55,975)  
Net carrying amount 162,760 151,025  
Equity component $ 18,257 18,257  
Derivative liability-conversion option   $ 37 $ 59,400