Quarterly report pursuant to Section 13 or 15(d)

Debt and Interest (Narrative) (Details)

v3.22.1
Debt and Interest (Narrative) (Details) - USD ($)
3 Months Ended
Mar. 04, 2022
Jan. 12, 2022
Mar. 31, 2022
Mar. 31, 2021
Dec. 31, 2021
Aug. 29, 2020
Aug. 27, 2020
Debt Instrument [Line Items]              
Total notes payable     $ 85,056,000   $ 42,937,000    
Unamortized debt discount fees     10,994,000   7,063,000    
Debt instrument, interest expense     1,961,000 $ 1,880,000      
Amortization of interest discount     389,000 309,000      
Amortization of debt discount     389,000 309,000      
East West Bank ("EWB Loan") [Member]              
Debt Instrument [Line Items]              
Amount outstanding         $ 800,000    
Maximum borrowing capacity   $ 7,500,000          
EWB Amendment [Member]              
Debt Instrument [Line Items]              
Amount outstanding     0        
Debt instrument term   4 years          
Maximum borrowing capacity   $ 10,000,000.0          
Prime Rate [Member] | EWB Amendment [Member]              
Debt Instrument [Line Items]              
Basis spread on variable rate   0.70%          
Letter of Credit [Member]              
Debt Instrument [Line Items]              
Debt instrument, interest expense     15,000 9,000      
Oaktree Note [Member]              
Debt Instrument [Line Items]              
Debt instrument face amount             $ 60,000,000.0
Debt instrument, interest expense     $ 1,375,000 $ 1,650,000      
Debt instrument, stated interest rate     11.00%        
Exercise price of warrants           $ 3.20  
Oaktree Note [Member] | Maximum [Member]              
Debt Instrument [Line Items]              
Class of Warrant or Right, Number of Securities Called by Warrants or Rights           1,749,450  
EWB Term Loan [Member]              
Debt Instrument [Line Items]              
Debt instrument face amount   $ 20,000,000.0          
Debt instrument, stated interest rate     5.23%        
Debt instrument term   4 years          
EWB Term Loan [Member] | Debt Tranche 1 [Member]              
Debt Instrument [Line Items]              
Proceeds from debt   $ 15,000,000.0          
Debt instrument face amount   15,000,000.0          
EWB Term Loan [Member] | Debt Tranche 2 [Member]              
Debt Instrument [Line Items]              
Debt instrument face amount   $ 5,000,000.0          
EWB Term Loan [Member] | Prime Rate [Member]              
Debt Instrument [Line Items]              
Basis spread on variable rate   1.73%          
Runway Note [Member]              
Debt Instrument [Line Items]              
Proceeds from debt $ 30,000,000.0   $ 30,000,000        
Debt instrument face amount $ 75,000,000.0            
Debt, effective interest rate     9.67%        
Debt instrument, stated interest rate 8.75%   9.36%        
Amortization of interest discount     $ 12,900        
Final payment fee $ 1,000,000.0            
Collateral amount $ 75,000            
Percentage of upfront commitment fee 1.00%            
Upfront Commitment Fee $ 300,000            
Agency fees payment $ 2,700,000            
Final payment as a percentage of original principal 3.50%            
Amortization of debt discount     $ 12,900        
Runway Note [Member] | Financial Milestones [Member]              
Debt Instrument [Line Items]              
Debt instrument face amount $ 45,000,000.0            
Runway Note [Member] | LIBOR Rate [Member]              
Debt Instrument [Line Items]              
Basis spread on variable rate 0.50%            
Runway Note [Member] | Minimum [Member]              
Debt Instrument [Line Items]              
Debt, effective interest rate 9.25%            
Warrants to Purchase Common Stock [Member] | Runway Note [Member]              
Debt Instrument [Line Items]              
Warrants, fair value $ 400,000            
Warrant expiration term 10 years            
Warrants to Purchase Common Stock [Member] | Risk Free Interest Rate [Member] | Runway Note [Member]              
Debt Instrument [Line Items]              
Fair value of warrants assumptions 0.0174            
Warrants to Purchase Common Stock [Member] | Expected Volatility [Member] | Runway Note [Member]              
Debt Instrument [Line Items]              
Fair value of warrants assumptions 0.573            
Mustang [Member] | Common Stock [Member] | Runway Note [Member]              
Debt Instrument [Line Items]              
Exercise price of warrants $ 0.8021            
Class of Warrant or Right, Number of Securities Called by Warrants or Rights 748,036