XML 60 R45.htm IDEA: XBRL DOCUMENT v3.22.1
Debt - Summary (Details) - USD ($)
1 Months Ended 3 Months Ended 12 Months Ended
Jun. 02, 2021
Mar. 11, 2020
Feb. 29, 2020
Mar. 31, 2020
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2018
Debt              
Loss on extinguishment of debt           $ (2,757,000)  
Term loan              
Debt              
End of term fee         $ 5,000,000 $ 5,000,000  
Loan Agreement | Term loan              
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     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    
Loss on extinguishment of debt       $ 2,700,000      
End of term fee         $ 5,000,000.0    
Loan Agreement | Term loan | Prime rate              
Debt              
Variable rate basis         interest minus 5.50%    
Variable interest rate margin (as a percent)         9.80%    
Variable rate adjustment (as a percent)         5.50%    
Loan Agreement | Term loan | Initial Advance              
Debt              
Principal amount of advances outstanding             25,000,000.0
Loan Agreement | Term loan | Tranche 7 Advance              
Debt              
Maximum borrowing capacity             $ 5,000,000.0
Additional tranches         $ 5,000,000.0    
Loan Agreement | Term loan | Prepayment during the first 12 months following initial closing              
Debt              
Prepayment penalty as a percentage of the amount being repaid         3.00%    
Loan Agreement | Term loan | 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 | Term loan | 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%