XML 78 R65.htm IDEA: XBRL DOCUMENT v3.22.4
Borrowings - Disaggregates the Net Carrying Value (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 29, 2022
Dec. 07, 2022
Aug. 04, 2022
Jul. 29, 2022
Dec. 31, 2021
Debt Instrument [Line Items]            
Principal $ 219,744         $ 129,289
Total borrowings 175,831         109,214
December 2022 Promissory Note            
Debt Instrument [Line Items]            
Embedded derivative liability   $ 419        
Total borrowings   $ 2,299        
December 2022 Promissory Note | Convertible Debt            
Debt Instrument [Line Items]            
Principal 2,000          
Unamortized debt discount (160)          
Unamortized debt issuance costs (179)          
Embedded derivative liability 1,027          
Total borrowings 2,688          
2021 Convertible Notes | Convertible Debt            
Debt Instrument [Line Items]            
Principal 109,167         102,900
Unamortized debt discount (24,733)         (28,321)
Unamortized debt issuance costs (2,402)         (2,790)
Embedded derivative liability 918         12,359
Total borrowings 82,950         84,148
Senior Secured Term Loan | Secured Debt            
Debt Instrument [Line Items]            
Principal 100,000   $ 5,320 $ 9,574 $ 85,106 0
Unamortized debt discount (1,866)          
Unamortized debt issuance costs (16,518)          
Total borrowings $ 81,616         $ 0