XML 61 R50.htm IDEA: XBRL DOCUMENT v3.22.0.1
Borrowings - Narrative (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Aug. 12, 2021
May 29, 2020
Apr. 21, 2020
Oct. 31, 2017
Dec. 31, 2021
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]              
Proceeds from debt financing           $ 35,000 $ 45,297
Final fee         $ 627 627 884
Deferred liability for social security taxes, CARES Act             1,000
Accrued liabilities              
Debt Instrument [Line Items]              
Deferred liability for social security taxes, CARES Act         500 500 500
Other long-term liabilities              
Debt Instrument [Line Items]              
Deferred liability for social security taxes, CARES Act         500 $ 500 $ 500
PPP Loan, CARES Act              
Debt Instrument [Line Items]              
Proceeds from PPP loan     $ 5,300        
Term Loan | Pharmakon Term Loan              
Debt Instrument [Line Items]              
Proceeds from debt financing       $ 40,000      
Debt period payment, interest only period       35 months      
Fixed interest rate (percent)       11.50%      
Effective interest rate during the period (percent)             12.40%
Term Loan | Pharmakon Term Loan | Prepayment Penalty, 31-48 Months              
Debt Instrument [Line Items]              
Debt prepayment penalty percentage (percent)       2.00%      
Term Loan | Pharmakon Term Loan | Prepayment Penalty, 49-60 Months              
Debt Instrument [Line Items]              
Debt prepayment penalty percentage (percent)       1.00%      
Term Loan | Solar Loan And Security Agreement              
Debt Instrument [Line Items]              
Fixed interest rate (percent)             9.40%
Aggregate principal amount   $ 40,000          
Debt issuance costs   800          
Unamortized debt issuance costs             $ 700
Prepayment penalty and lender fees on debt extinguishment             $ 800
Allowable prepayment increments per agreement   $ 10,000          
Prepayment premium in year one (percent)   3.00%          
Prepayment premium in year two (percent)   1.25%          
Prepayment premium in year three or later (percent)   0.50%          
Final fee   $ 1,000          
Final fee as percentage of aggregate principal amount (percent)   2.50%          
Effective interest rate during the period (percent)           10.30% 10.60%
Term Loan | Solar Loan And Security Agreement | Variable Option One              
Debt Instrument [Line Items]              
Debt period payment, interest only period   36 months          
Basis spread on variable rate (percent)   0.33%          
Term Loan | SVB Term Loan              
Debt Instrument [Line Items]              
Fixed interest rate (percent) 5.75%            
Aggregate principal amount $ 35,000            
Debt issuance costs         100 $ 100  
Unamortized debt issuance costs         1,300 1,300  
Prepayment penalty and lender fees on debt extinguishment         $ 500 $ 500  
Basis spread on variable rate (percent) 2.50%            
Final fee $ 700            
Final fee as percentage of aggregate principal amount (percent) 2.00%            
Effective interest rate during the period (percent)           6.30%  
Term Loan | SVB Term Loan | Prepayment Penalty, 1-24 Months              
Debt Instrument [Line Items]              
Debt prepayment penalty percentage (percent) 1.00%            
Term Loan | SVB Term Loan | Prepayment Penalty, 24 Months On              
Debt Instrument [Line Items]              
Debt prepayment penalty percentage (percent) 0.00%