XML 53 R34.htm IDEA: XBRL DOCUMENT v3.22.1
Term Loan - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
May 31, 2021
USD ($)
$ / shares
shares
Apr. 30, 2020
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]        
Risk free interest rate   0.75%    
Expected volatility   92.30%    
Expected terms (years)   10 years    
Percentage of fee on loan     5.00%  
Deferred tax assets     $ 42,265 $ 22,005
Maximum        
Debt Instrument [Line Items]        
Expected terms (years)     6 years 1 month 6 days 6 years 1 month 6 days
Minimum [Member]        
Debt Instrument [Line Items]        
Expected terms (years)     5 years 6 months 4 years
Loan Agreement        
Debt Instrument [Line Items]        
Line of Credit Facility, Description In May 2021, the parties further amended the Loan Agreement (as amended, the “2021 Loan Agreement”). The 2021 Loan Agreement increased the Term A Loan Facility to up to $20.0 million thereby increasing the total term loan facility from $15.0 million to $25.0 million. The Term B Loan Facility of up to $5.0 million remains available to be drawn upon the achievement of certain additional milestones, and each loan facility is available to be drawn upon on or before September 30, 2022. In April 2020, the Company entered into a Loan and Security Agreement, (the “Loan Agreement”) with the lenders referred to therein (the “Lenders”), and Silicon Valley Bank (“SVB”), as collateral agent. The Loan Agreement provided for (i) a secured term A loan facility (the “Term A Loan Facility”) of up to $10.0 million and (ii) a secured term B loan facility (the “Term B Loan Facility”) of up to $5.0 million that became available upon the satisfaction of certain milestones, each of which was available to be drawn through May 31, 2021 pursuant to an amendment executed in April 2021. The term loan is secured by certain assets of the Borrowers (as defined in the Loan Agreement), including substantially all of the assets of the Company, excluding the Company’s intellectual property. The term loan contains customary representations, warranties, affirmative covenants and also certain restrictive covenants.    
Warrants to purchase common stock | shares 33,923      
Warrant exercise price | $ / shares $ 19.12      
Warrant expiration date May 28, 2031 Jun. 30, 2025    
Debt issuance costs, gross $ 600 $ 600    
Line of credit facility increase in borrowing capacity 15,000      
Proceeds from sale of available-for-sale securities, equity     $ 75,000  
Deferred tax assets 400      
Loan Agreement | Measurement Input, Expected Dividend Payment        
Debt Instrument [Line Items]        
Fair value of warrant assumptions, dividends $ 0      
Loan Agreement | Valuation Technique, Option Pricing Model | Measurement Input, Risk Free Interest Rate        
Debt Instrument [Line Items]        
Fair measurement input 0.016      
Loan Agreement | Valuation Technique, Option Pricing Model | Measurement Input, Price Volatility        
Debt Instrument [Line Items]        
Fair measurement input 0.986      
Loan Agreement | Valuation Technique, Option Pricing Model | Measurement Input, Expected Term        
Debt Instrument [Line Items]        
Fair measurement input 10 years      
Loan Agreement | Prime Rate        
Debt Instrument [Line Items]        
Debt instrument, basis spread on variable rate     1.00%  
Loan Agreement | Maximum        
Debt Instrument [Line Items]        
Line of credit facility, maximum borrowing capacity $ 25,000      
Loan Agreement | Minimum [Member]        
Debt Instrument [Line Items]        
Debt instrument, interest rate     4.25%  
Loan Agreement | Other Assets        
Debt Instrument [Line Items]        
Debt issuance costs, gross   200    
Loan Agreement | Term A Loan Facility        
Debt Instrument [Line Items]        
Line of credit facility, maximum borrowing capacity 20,000 $ 10,000    
Warrants to purchase common stock | shares   25,000    
Warrant exercise price | $ / shares   $ 22.06    
Term loan amount drawn     $ 1,500  
Credit facility maturity date     Sep. 01, 2024  
Loan Agreement | Term B Loan Facility        
Debt Instrument [Line Items]        
Line of credit facility, maximum borrowing capacity $ 5,000 $ 5,000    
Warrants to purchase common stock | shares 11,305