XML 43 R33.htm IDEA: XBRL DOCUMENT v3.22.2.2
Debt - Summary (Details) - Term loan - USD ($)
1 Months Ended 9 Months Ended
Sep. 22, 2022
Jun. 02, 2021
Mar. 11, 2020
Feb. 29, 2020
Sep. 30, 2022
Dec. 31, 2021
Dec. 31, 2018
Debt              
End of term fee         $ 3,077,000 $ 5,000,000  
Loan Agreement              
Debt              
Maximum borrowing capacity             $ 75,000,000.0
Principal amount of advances outstanding     $ 35,000,000.0        
Interest rate (as a percent)         9.80%    
Fee due at maturity, as a percentage of aggregate advances         6.95%    
The amount in excess of which prepayments may be made         $ 5,000,000.0    
Repayment of debt     $ 30,000,000.0        
Minimum cash and cash equivalents in accounts to be maintained   $ 3,000,000.0          
Net product revenue   $ 15,000,000.0          
Trailing period   3 months   6 months      
Percent of net product revenue sales target     70.00% 80.00%      
Minimum liquidity requirement       $ 40,000,000.0      
Minimum amount to be maintained in cash and cash equivalents     $ 3,000,000.0        
Maximum value of lender option to purchase equity securities         2,000,000.0    
End of term loan charge payment     2,100,000        
End of term loan charge     $ 300,000 $ 600,000      
Loan origination costs         1,300,000    
Initial fee paid to lender         700,000    
End of term fee         $ 3,100,000    
Loan Agreement | Prime rate              
Debt              
Variable interest rate margin (as a percent)         9.80%    
Variable rate adjustment (as a percent)         5.50%    
Reference rate for effective interest rate (as percent) 6.25%            
Loan Agreement | Initial Advance              
Debt              
Principal amount of advances outstanding             $ 25,000,000.0
Loan Agreement | Tranche 7 Advance              
Debt              
Additional tranches         $ 10,000,000.0    
Loan Agreement | Prepayment during the first 12 months following initial closing              
Debt              
Prepayment penalty as a percentage of the amount being repaid         3.00%    
Loan Agreement | Prepayment after the first 12 months following initial closing but before 24 months              
Debt              
Prepayment penalty as a percentage of the amount being repaid         2.00%    
Loan Agreement | Prepayment after the first 24 months following initial closing but before maturity              
Debt              
Prepayment penalty as a percentage of the amount being repaid         1.00%    
Hercules Capital Inc | Loan Agreement              
Debt              
Interest rate (as a percent) 10.55%