XML 107 R60.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Borrowings - Net Carrying Value (Details) - USD ($)
$ in Thousands
Jun. 30, 2024
Dec. 31, 2023
Debt Instrument [Line Items]    
Principal $ 218,141 $ 238,962
Total borrowings 153,281 203,859
2021 Convertible Note Payable | Convertible Notes    
Debt Instrument [Line Items]    
Principal 119,289 115,815
Unamortized debt discount (16,493) (19,612)
Unamortized debt issuance costs (1,593) (1,895)
Embedded conversion feature 53 78
Total borrowings 101,256 94,386
AFG Convertible Notes | Convertible Notes | Related Party    
Debt Instrument [Line Items]    
Principal 19,738 17,429
Unamortized debt discount (2,399) (2,835)
Unamortized debt issuance costs (677) (800)
Embedded conversion feature 5,361 4,345
Total borrowings 22,023 18,139
Senior Secured Term Loan    
Debt Instrument [Line Items]    
Total borrowings 0 85,624
Senior Secured Term Loan | Secured Debt    
Debt Instrument [Line Items]    
Principal 0 100,000
Total borrowings $ 0 85,624
Senior Secured Term Loan | Secured Debt | Nonrelated Party    
Debt Instrument [Line Items]    
Principal   100,000
Unamortized debt discount   (1,459)
Unamortized debt issuance costs   (12,917)
Total borrowings   $ 85,624