Quarterly report pursuant to Section 13 or 15(d)

Loans Payable (Details)

v3.20.2
Loans Payable (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Mar. 02, 2020
USD ($)
Sep. 30, 2014
USD ($)
tranche
$ / shares
shares
Mar. 31, 2020
USD ($)
Jun. 30, 2019
USD ($)
Jun. 30, 2020
USD ($)
$ / shares
shares
Jun. 30, 2019
USD ($)
Dec. 31, 2019
USD ($)
Dec. 31, 2015
$ / shares
shares
Long Term Debt                
Interest expense       $ 271 $ 29 $ 624    
Loan and security agreement                
Long Term Debt                
Maximum amount available   $ 35,000            
Debt number of tranches | tranche   3            
Gross proceeds             $ 3,167  
Final fee payment $ 1,900   $ 1,900          
Final payment fee percentage 6.60%              
Final principal payment     $ 3,200          
Interest expense         $ 20 $ 400    
Debt discount and debt issuance costs   $ 1,000            
Term Loan A | Common Stock | Warrants                
Long Term Debt                
Number of shares that can be purchased upon exercise of warrants (in shares) | shares   7,678     5,728      
Exercise price | $ / shares   $ 5.8610            
Term Loan B | Common Stock | Warrants                
Long Term Debt                
Number of shares that can be purchased upon exercise of warrants (in shares) | shares               34,961
Exercise price | $ / shares               $ 10.6190
Term Loan C | Common Stock | Warrants                
Long Term Debt                
Number of shares that can be purchased upon exercise of warrants (in shares) | shares         62,241      
Exercise price | $ / shares         $ 3.6150