v3.24.3
Borrowings - Net Carrying Value (Details) - USD ($)
$ in Thousands
Sep. 30, 2024
Dec. 31, 2023
Debt Instrument [Line Items]    
Principal $ 250,919 $ 238,962
Total borrowings 187,429 203,859
2021 Convertible Note Payable | Convertible Notes    
Debt Instrument [Line Items]    
Principal 119,289 115,815
Unamortized debt discount (14,780) (19,612)
Unamortized debt issuance costs (1,428) (1,895)
Embedded conversion feature 388 78
Total borrowings 103,469 94,386
AFG Convertible Notes | Convertible Notes | Related Party    
Debt Instrument [Line Items]    
Principal 19,738 17,429
Unamortized debt discount (2,153) (2,835)
Unamortized debt issuance costs (608) (800)
Embedded conversion feature 17,621 4,345
Total borrowings 34,598 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