XML 47 R28.htm IDEA: XBRL DOCUMENT v3.21.2
Long-term debt (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 29, 2021
Dec. 06, 2018
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Dec. 15, 2021
Dec. 31, 2020
May 31, 2020
Long-term Debt                  
Proceeds from loan increment, net of debt issuance costs         $ 34,603        
2016 Amended Facility | Hercules | Second Amended and Restated Loan and Security Agreement [Member]                  
Long-term Debt                  
Outstanding debt   $ 20,000              
Back-end fees due                 $ 1,000
2018 Amended Facility | Hercules                  
Long-term Debt                  
Aggregate amount of Equity Financing         90,000        
Foreign currency loss       $ 700          
2018 Amended Facility | Hercules | Second Amended and Restated Loan and Security Agreement [Member]                  
Long-term Debt                  
Interest rate (as a percent)   8.85%              
Back-end fee (as a percent)   4.95%              
Proceeds from loan increment, net of debt issuance costs   $ 15,000              
2018 Amended Facility | Prime Rate | Hercules | Second Amended and Restated Loan and Security Agreement [Member]                  
Long-term Debt                  
Variable interest rate basis   8.85%              
Discount rate (as a percent)   5.50%              
2021 Amended Facility                  
Long-term Debt                  
Outstanding debt $ 35,000                
Proceed from drew down $ 35,000                
Interest rate (as a percent) 8.25%                
Back-end fee (as a percent) 4.85%                
Maximum borrowing capacity $ 135,000                
Additional unconditional borrowing capacity $ 100,000                
2021 Amended Facility | Prime Rate                  
Long-term Debt                  
Variable interest rate basis 3.25%                
2018 and 2021 Amended Facility | Hercules                  
Long-term Debt                  
Foreign currency loss         $ 2,200        
Foreign currency gain     $ 900     $ 0      
Venture debt loan facility | 2018 Amended Facility                  
Aggregate maturities of loan                  
Long-term debt               $ 35,900  
Venture debt loan facility | 2018 Amended Facility | Hercules                  
Long-term Debt                  
Interest expense recorded       $ 900          
Venture debt loan facility | 2018 and 2021 Amended Facility                  
Long-term Debt                  
Minimum cash and cash equivalents in U.S. bank accounts         65.00%        
Assets pledged to secure facilities by directly or indirectly         $ 784,300        
Assets not being pledged to secure facilities by directly or indirectly         103,500        
Aggregate maturities of loan                  
Long-term debt     71,300   71,300        
Venture debt loan facility | 2018 and 2021 Amended Facility | Hercules                  
Long-term Debt                  
Interest expense recorded     $ 1,800   $ 3,400 $ 1,800      
Subsequent events. | 2021 Amended Facility                  
Long-term Debt                  
Outstanding debt             $ 65,000    
Subsequent events. | 2021 Amended Facility | Minimum                  
Long-term Debt                  
Outstanding debt             $ 20,000