XML 37 R65.htm IDEA: XBRL DOCUMENT v3.20.1
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
Oct. 31, 2019
USD ($)
Nov. 30, 2017
$ / shares
Dec. 31, 2016
USD ($)
Debt            
Principal amount       $ 550,000    
Convertible note purchase agreement            
Debt            
Principal amount           $ 12,500,000
First Amendment to Note Purchase Agreement and Notes | Convertible note purchase agreement | Conversion option liability | Napo            
Debt            
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     166,139      
Partial redemption of convertible notes     $ 299,050      
First Amendment to Note Purchase Agreement and Notes | Convertible note purchase agreement | Conversion option liability | Napo            
Debt            
Principal amount     $ 1,170,950      
Second Amendment to Note Purchase Agreement and Notes | Napo            
Debt            
Principal amount   $ 435,950        
Shares issued to creditors | shares   3,603        
Accrued interest on notes payable   $ 18,063        
Principal paid $ 735,000          
Interest paid 20,699          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Level 3 | Recurring            
Debt            
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 | Stock price            
Debt            
Conversion option liability | $ / shares 14.70          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Expected life            
Debt            
Conversion option liability | Y 0.11          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Volatility            
Debt            
Conversion option liability | item 2.8816          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Risk free rate            
Debt            
Conversion option liability | item 0.0169          
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Dividend rate            
Debt            
Conversion option liability | item 0.0000          
Debt Agreement Third Amendment [Member]            
Debt            
Principal paid $ 689,345          
Interest paid $ 4,471