Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Narrative (Details)

v3.10.0.1
Fair Value Measurements - Narrative (Details)
6 Months Ended
Jun. 30, 2018
USD ($)
$ / shares
class_of_stock
shares
Jun. 30, 2017
USD ($)
class_of_stock
Level 3 Valuation    
Number of changes in valuation techniques | class_of_stock 0 0
Amount of transfers of assets from level 2 to level 1 | $ $ 0 $ 0
Amount of transfers of assets from level 1 to level 2 | $ $ 0 $ 0
Common stock warrants    
Level 3 Valuation    
Number of shares available under warrant (in shares) | shares 40,000  
Level 2    
Level 3 Valuation    
Long-term debt fair value | $ $ 15,400,000  
Warrant liability | Level 3    
Level 3 Valuation    
Expected life 2 years 3 months 18 days  
Volatility | Warrant liability | Level 3    
Level 3 Valuation    
Warrants measurement input 0.55  
Volatility | Equity Unit Purchase Option | Level 3 | Minimum    
Level 3 Valuation    
Warrants measurement input 0.35  
Volatility | Equity Unit Purchase Option | Level 3 | Maximum    
Level 3 Valuation    
Warrants measurement input 0.55  
Risk Free Interest Rate | Warrant liability | Level 3    
Level 3 Valuation    
Warrants measurement input 0.0252  
Risk Free Interest Rate | Equity Unit Purchase Option | Level 3 | Minimum    
Level 3 Valuation    
Warrants measurement input 0.0177  
Risk Free Interest Rate | Equity Unit Purchase Option | Level 3 | Maximum    
Level 3 Valuation    
Warrants measurement input 0.0252  
Strike Price (in dollars per share) | Warrant liability | Level 3    
Level 3 Valuation    
Warrants measurement input 8.40  
Strike Price (in dollars per share) | Equity Unit Purchase Option | Level 3    
Level 3 Valuation    
Warrants measurement input 7.48  
Strike Price (in dollars per share) | Equity Unit Purchase Option | Level 3 | Class A Warrant    
Level 3 Valuation    
Warrants measurement input 5.23  
Strike Price (in dollars per share) | Equity Unit Purchase Option | Level 3 | Class B Warrant    
Level 3 Valuation    
Warrants measurement input 4.49  
Share Price (in dollars per share) | Warrant liability | Level 3    
Level 3 Valuation    
Warrants measurement input 4.34