XML 34 R56.htm IDEA: XBRL DOCUMENT v3.19.3
Debt - December 2016 Convertible debt (Details)
1 Months Ended 12 Months Ended
Mar. 16, 2018
USD ($)
shares
Jan. 31, 2019
USD ($)
shares
Aug. 31, 2018
USD ($)
shares
Jul. 31, 2017
USD ($)
Lender
Dec. 31, 2016
USD ($)
$ / shares
Lender
Dec. 31, 2018
USD ($)
item
Sep. 30, 2019
USD ($)
May 31, 2019
USD ($)
May 28, 2018
USD ($)
Jun. 30, 2017
USD ($)
Feb. 28, 2015
USD ($)
Debt and Warrants                      
Aggregate principal amount                     $ 150,000
Convertible promissory notes, December 2016                      
Debt and Warrants                      
Aggregate principal amount         $ 2,500,000            
Number of lenders | Lender         3            
Proceeds from issuance of convertible debt         $ 2,000,000            
Unamortized note discount         $ 500,000            
Conversion price (in dollars per share) | $ / shares         $ 64.75            
Revised principal value of debt                   $ 2,625,338  
Annual percentage of conversion         33.00%            
Fair value of notes         $ 11,161,000            
Difference between the fair value of the notes and the principal balance         $ 1,035,661            
Amortization period of such difference amount         29 months            
Interest Payable $ 534,775   $ 479,808                
Debt legal fee $ 169,950                    
Repayment of accrued interest   $ 446,729                  
Shares issued (in shares) | shares 4,081 19,751 4,582                
Convertible promissory notes, December 2016 | Convertible Long-term Debt                      
Debt and Warrants                      
Number of debt instrument extinguished | item           2          
Unamortized balance of notes payable           $ 10,553,888 $ 0        
Convertible note purchase agreement                      
Debt and Warrants                      
Aggregate principal amount         $ 12,500,000            
Interest rate (as a percent)       10.00%              
Debt instrument, frequency of periodic payment       six-month              
Accrued interest capitalized to principal of debt                   $ 125,338  
Convertible promissory notes, July 2017                      
Debt and Warrants                      
Aggregate principal amount       $ 7,500,000              
Number of lenders | Lender       4              
Proceeds from issuance of convertible debt       $ 6,000,000              
Unamortized note discount       $ 1,500,000              
2019 Exchange Note 1                      
Debt and Warrants                      
Aggregate principal amount                 $ 10,125,339    
Interest rate (as a percent)                 10.00%    
2019 Exchange Note 2                      
Debt and Warrants                      
Aggregate principal amount                 $ 2,296,926    
Interest rate (as a percent)                 10.00%    
Napo | Napo December 2016 and Napo July 2017 Notes                      
Debt and Warrants                      
Aggregate principal amount               $ 10,125,339      
Unamortized premium               249,987      
Carrying amount of Notes issued               10,375,326      
Napo | 2019 Exchange Note 1                      
Debt and Warrants                      
Aggregate principal amount               10,535,900      
Accrued interest capitalized to principal of debt               $ 410,562