XML 88 R55.htm IDEA: XBRL DOCUMENT v3.19.3
Debt - Amendment to Note Purchase Agreement and Notes (Details)
1 Months Ended
Mar. 23, 2018
USD ($)
Y
item
$ / shares
Feb. 16, 2018
USD ($)
shares
Dec. 31, 2017
USD ($)
$ / shares
shares
Nov. 30, 2017
$ / shares
Dec. 31, 2016
USD ($)
Feb. 28, 2015
USD ($)
Debt and Warrants            
Principal amount           $ 150,000
Convertible note purchase agreement            
Debt and Warrants            
Principal amount         $ 12,500,000  
First Amendment to Note Purchase Agreement and Notes | Convertible note purchase agreement | Napo            
Debt and Warrants            
Principal amount     $ 1,170,950      
First Amendment to Note Purchase Agreement and Notes | Convertible note purchase agreement | Conversion option liability | Napo            
Debt and Warrants            
Percent of increase in the principal amount     12.00%      
Conversion price (in dollars per share) | $ / shares     $ 14.00 $ 39.20    
Issuance of common stock in exchange for services (in shares) | shares     35,601      
Partial redemption of convertible notes     $ 299,050      
Second Amendment to Note Purchase Agreement and Notes | Napo            
Debt and Warrants            
Principal amount   $ 435,950        
Accrued interest on notes payable   $ 18,063        
Shares issued to creditors | shares   54,049        
Principal paid $ 735,000          
Interest paid $ 20,699          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo            
Debt and Warrants            
Strike price (in dollars per share) | $ / shares $ 14.70          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Level 3 | Recurring            
Debt and Warrants            
Increase to the fair value of the conversion option liability $ 174,754          
Conversion option liability written off $ 286,595          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Expected life            
Debt and Warrants            
Conversion option liability | Y 0.11          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Volatility            
Debt and Warrants            
Conversion option liability | item 2.8816          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Risk free rate            
Debt and Warrants            
Conversion option liability | item 0.0169          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Dividend rate            
Debt and Warrants            
Conversion option liability | item 0.0000