XML 119 R57.htm IDEA: XBRL DOCUMENT v3.23.2
Debt - Schedule of Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Jun. 16, 2023
Dec. 31, 2022
Debt Instrument [Line Items]      
Total debt $ 172,227   $ 182,500
Less: unamortized original issue and debt discount (30,972)   (36,538)
Total debt, net of unamortized original issue and debt discount 141,255   145,962
Less: current portion of debt 0   0
Noncurrent portion of debt 141,255   145,962
Convertible notes | 2025 Notes      
Debt Instrument [Line Items]      
Total debt 57,227 $ 57,200 67,500
Convertible notes | 2026 Notes      
Debt Instrument [Line Items]      
Total debt $ 115,000   $ 115,000