XML 71 R57.htm IDEA: XBRL DOCUMENT v3.20.2
Debt - Amendment to Note Purchase Agreement and Notes (Details)
1 Months Ended
Feb. 16, 2019
USD ($)
Mar. 23, 2018
USD ($)
Y
$ / shares
Dec. 31, 2017
USD ($)
$ / shares
shares
Feb. 16, 2018
USD ($)
shares
Nov. 30, 2017
$ / shares
Dec. 31, 2016
USD ($)
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        
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Stock price            
Debt            
Conversion price (in dollars per share) | $ / 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 | Risk free rate            
Debt            
Conversion option liability   1.69        
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Level 3 | Recurring            
Debt            
Conversion option liability written off   $ 286,595        
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Volatility            
Debt            
Conversion option liability   288.16        
Second Amendment to Note Purchase Agreement and Notes | Conversion option liability | Napo | Dividend rate            
Debt            
Conversion option liability   0.0