XML 89 R44.htm IDEA: XBRL DOCUMENT v3.20.1
Long-Term Debt (Details) - USD ($)
12 Months Ended
Mar. 06, 2020
Dec. 09, 2019
Dec. 31, 2018
Jul. 06, 2018
Dec. 31, 2019
Dec. 31, 2018
Nov. 28, 2018
Oct. 01, 2018
Aug. 14, 2018
Debt Instrument [Line Items]                  
Redemption percentage         12.00%        
Debt conversion, interest rate           7.625%      
Interest rate     10.40%     10.40%      
Additional warrant issuances, percentage           10.00%      
Exercise price, percentage           110.00%      
Warrant liability     $ 965,747   $ 16,335,000 $ 965,747      
Reclassification of warrants to equity         857,072        
Marathon Tranche One Loan                  
Debt Instrument [Line Items]                  
Face amount     10,000,000     10,000,000      
Loss on extinguishment of debt         6,100,000        
Premium payable on early payoff of debt         3,400,000        
Revolving Loan                  
Debt Instrument [Line Items]                  
Maximum borrowing capacity     $ 25,000,000     $ 25,000,000      
Arosa                  
Debt Instrument [Line Items]                  
Warrants to purchase of common stock shares     894,821            
Warrant exercise price (in usd per share)     $ 1.25     $ 1.25 $ 1.25    
Additional warrant issuances, percentage           10.00%      
Loss on extinguishment of debt           $ 2,200,000      
Senior Notes                  
Debt Instrument [Line Items]                  
Amortization of debt issuance costs         $ 1,922,164 $ 2,348,289      
Convertible Notes                  
Debt Instrument [Line Items]                  
Redemption percentage         112.00%        
Convertible debt         $ 500,000        
Face amount   $ 41,000,000.0              
Interest rate   4.50%              
Convertible debt, fair value   $ 38,500,000     $ 39,000,000.0        
Debt issuance price, percentage         95.00%        
Conversion price         $ 3.05        
Debt instrument, minimum convertible amount         $ 5,000,000.0        
Convertible debt, shares issued on conversion         185,186        
Convertible debt, outstanding principal         $ 40,500,000        
Change in fair value         1,000,000.0        
Periodic debt payment         $ 1,500,000        
Debt instrument, covenant terms, liquidity requirements, cash and cash equivalents   $ 8,000,000.0              
Warrants to purchase of common stock shares   15,459,016              
Common stock price, weighted average period         30 days        
Warrant exercise price (in usd per share)   $ 3.05              
Carrying amount of equity component, convertible debt   $ 400,000              
Convertible Notes | Interest Expense                  
Debt Instrument [Line Items]                  
Convertible debt, gain on conversion         $ 83,089        
Convertible Notes | Subsequent Event                  
Debt Instrument [Line Items]                  
Convertible debt $ 4,500,000                
Convertible debt, shares issued on conversion 1,546,889                
Credit Agreement                  
Debt Instrument [Line Items]                  
Warrants to purchase of common stock shares           8,053,390      
Warrant exercise price (in usd per share)     $ 1.25     $ 1.25      
Fair Value adjustment of warrants           $ 965,747      
Credit Agreement | Tranche 1                  
Debt Instrument [Line Items]                  
Unamortized discount     $ 722,174     722,174      
Credit Agreement | Tranche 2                  
Debt Instrument [Line Items]                  
Fair Value adjustment of warrants           69,744      
Prepaid expense and other assets     $ 1,830,435     $ 1,830,435      
Loan Agreement                  
Debt Instrument [Line Items]                  
Face amount       $ 7,800,000          
Interest rate       8.00%          
Warrants to purchase of common stock shares       5,000,358          
Warrant exercise price (in usd per share)       $ 2.00       $ 1.60 $ 1.21
Debt instrument term       5 years          
Class of warrant or right outstanding               108,768 1,143,200
Loan Agreement | Arosa                  
Debt Instrument [Line Items]                  
Fair Value adjustment of warrants       $ 3,540,542