XML 107 R68.htm IDEA: XBRL DOCUMENT v3.19.1
Long Term Debt (Details) - USD ($)
1 Months Ended 12 Months Ended
Feb. 01, 2018
Dec. 01, 2015
Mar. 04, 2015
Apr. 14, 2014
Aug. 31, 2018
Jul. 31, 2018
Jun. 30, 2018
Jan. 31, 2016
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Oct. 31, 2018
Oct. 02, 2018
Sep. 03, 2018
Apr. 01, 2018
Jul. 31, 2017
Mar. 31, 2017
Jul. 31, 2016
Apr. 30, 2016
Long Term Debt                                      
Amount borrowed under the loan facility                 $ 7,763,000                    
Principal payment on loan         $ 0 $ 0 $ 0                        
Total facility available                         $ 1,000,000            
Non-cash interest expense                 200,000 $ 200,000 $ 400,000                
Unamortized debt issuance costs                 100,000                    
Long Term Debt                 7,623,000 $ 4,346,000                  
Loan agreement                                      
Long Term Debt                                      
Fair value of warrants issued       $ 100,000                              
Debt issuance costs       100,000                              
Amount of investment by lender       $ 1,000,000                              
Additional amounts available to borrow                 0                    
Loan agreement | Minimum                                      
Long Term Debt                                      
Interest rate (as a percent)       8.00%                              
Loan agreement | Maximum                                      
Long Term Debt                                      
Maximum amount to invest       $ 1,000,000                              
Conversion amount       $ 1,000,000                              
Amendment 1 to loan agreement                                      
Long Term Debt                                      
Fair value of warrants issued     $ 100,000                                
Amount borrowed under the loan facility     5,000,000                                
Principal payment on loan   $ 300,000                                  
Term charge     200,000                                
Amendment 1 to loan agreement | Minimum                                      
Long Term Debt                                      
Amount to be received under equity financing     $ 10,000,000                                
Amendment 2 to loan agreement                                      
Long Term Debt                                      
Fair value of warrants issued               $ 100,000                      
Amount borrowed under the loan facility               5,000,000                   $ 3,000,000  
Term charge               100,000                      
Total facility available               $ 15,000,000                     $ 13,000,000
Remaining facility expired unexercised                                     $ 2,000,000
Amendment 3 to loan agreement                                      
Long Term Debt                                      
Amount borrowed under the loan facility                           $ 0     $ 5,000,000    
Term charge $ 50,000                                    
Total facility available                             $ 23,000,000   18,000,000    
Amendment 4 to loan agreement | Maximum                                      
Long Term Debt                                      
Interest cap                               10.00%      
Amendment 5 to loan agreement                                      
Long Term Debt                                      
Principal payment on loan                 1,400,000                    
Term charge         80,000       $ 500,000                    
Cost incurred upon execution         $ 50,000                            
Amendment 6 to loan agreement                                      
Long Term Debt                                      
Certificate of deposit associated with the lease                       $ 1,000,000              
Term loan                                      
Long Term Debt                                      
Amount borrowed under the loan facility                                 $ 5,000,000    
Prime rate | Loan agreement                                      
Long Term Debt                                      
Margin on variable interest rate (as a percent)       5.25%