Quarterly report pursuant to Section 13 or 15(d)

Debt - Convertible Note and Facility (Details)

v3.23.3
Debt - Convertible Note and Facility (Details)
3 Months Ended 9 Months Ended
Mar. 15, 2023
USD ($)
$ / shares
shares
Feb. 10, 2023
USD ($)
$ / shares
shares
Nov. 21, 2022
USD ($)
$ / shares
shares
May 06, 2021
USD ($)
day
$ / shares
shares
Sep. 30, 2023
USD ($)
$ / shares
shares
Sep. 30, 2022
USD ($)
Sep. 30, 2023
USD ($)
$ / shares
shares
Sep. 30, 2022
USD ($)
Apr. 27, 2023
$ / shares
Dec. 31, 2022
USD ($)
$ / shares
Notes Payable                    
Common stock, par value (in dollars per share) | $ / shares         $ 0.0001   $ 0.0001   $ 0.0001 $ 0.0001
Gain on extinguishment of debt         $ 0 $ 0 $ (2,965,000) $ 0    
Amortization of debt discount             $ 6,352,000 6,899,000    
Convertible note warrants                    
Notes Payable                    
Warrants to purchase shares (in shares) | shares         434,782   434,782      
Adjustment to additional paid in capital, debt conversion, warrants issued       $ 14,522,000            
Convertible Note due in May 2024                    
Notes Payable                    
Interest rate (as a percent)       7.50%            
Convertible note       $ 100,000,000            
Issuance costs       $ 5,000,000            
Conversion price (in dollars per share) | $ / shares       $ 230.00            
Warrants to purchase shares (in shares) | shares       434,782            
Warrant exercise price (in dollars per share) | $ / shares       $ 230.00            
Percentage of stock price trigger       120.00%            
Stock price trigger (in dollars per share) | $ / shares       $ 276.00            
Threshold trading days | day       20            
Threshold consecutive trading days | day       30            
Average daily trading volume       $ 3,000,000            
Redemption price, percentage of principal       100.00%            
Fair value of convertible debt       $ 17,063,000 $ 9,495,000   $ 9,495,000     $ 58,155,000
Debt conversion, original amount $ 10,500,000 $ 3,500,000 $ 14,000,000              
Common stock issued on conversion of notes (in shares) | shares 937,500 210,443 663,822              
Common stock, par value (in dollars per share) | $ / shares $ 0.0001 $ 0.0001 $ 0.0001              
Share issue price (in usd per share) | $ / shares $ 11.20 $ 15.80 $ 21.00              
Gain on extinguishment of debt $ (2,918,000) $ (47,000) $ (2,921,000)              
Fair value of common stock issued 5,756,000 2,811,000 8,138,000              
Carrying amount of converted debt 8,669,000 2,850,000 11,021,000              
Fair value of convertible note derivative liability $ 5,000 $ 8,000 $ 38,000              
Debt converted, percentage of par value   95.00%                
Interest expense         3,279,000 4,129,000 9,818,000 11,830,000    
Contractual interest expense         1,122,000 1,647,000 3,499,000 4,942,000    
Amortization of debt discount         $ 2,157,000 2,482,000 $ 6,319,000 6,888,000    
Convertible Note due in May 2024 | Convertible note warrants                    
Notes Payable                    
Stock price trigger (in dollars per share) | $ / shares       $ 230.00            
Loan and Security Agreement | Facility                    
Notes Payable                    
Interest rate (as a percent)         18.00%   18.00%      
Interest expense         $ 130,000 118,000 $ 361,000 348,000    
Maximum borrowing capacity         8,600,000   8,600,000      
Threshold indebtedness         5,000,000   5,000,000      
Borrowings under line of credit         3,000,000   3,000,000     $ 3,000,000
Prepaid Advance Agreement                    
Notes Payable                    
Debt conversion, original amount         1,153,000   2,579,000      
Gain on extinguishment of debt         357,000   825,000      
Interest expense         $ 825,000 $ 0 $ 825,000 $ 0