Quarterly report pursuant to Section 13 or 15(d)

Capital Structure - Common Stock (Details)

v3.8.0.1
Capital Structure - Common Stock (Details)
3 Months Ended 12 Months Ended
Nov. 17, 2017
USD ($)
shares
Apr. 27, 2017
USD ($)
$ / shares
shares
Sep. 08, 2016
USD ($)
$ / shares
shares
Mar. 31, 2018
USD ($)
Vote
class_of_stock
$ / shares
shares
Mar. 31, 2017
USD ($)
Jan. 16, 2018
USD ($)
shares
Dec. 31, 2017
USD ($)
$ / shares
shares
Dec. 31, 2016
USD ($)
Jul. 06, 2017
shares
Jan. 27, 2017
USD ($)
Oct. 20, 2015
class_of_stock
Common Stock                      
Number of classes of stock authorized to issue | class_of_stock                     2
Number of shares of capital stock authorized to issue (in shares)       205,000,000              
Common stock, shares authorized (in shares)       200,000,000     200,000,000        
Preferred stock, shares authorized (in shares)       5,000,000     5,000,000        
Common stock, par value (in dollars per share) | $ / shares       $ 0.001     $ 0.001        
Preferred stock, par value per share (in dollars per share) | $ / shares       $ 0.001     $ 0.001        
Threshold price per common stock on any trading day to present notice for purchase of common stock (in dollars per share) | $ / shares     $ 0.50                
Number of shares sold under purchase agreement (in shares)       31,410,335     31,266,989        
Proceeds from issuance of common stock | $       $ 0 $ 1,186,564            
Aspire Capital Fund LLC (Aspire Capital)                      
Common Stock                      
Term of common stock purchase agreement     30 months                
Common stock issued as commitment fee (in shares)     175,000                
Common Stock                      
Common Stock                      
Number of shares available under warrant (in shares)       18,986,659              
Number of votes per share | Vote       1              
Number of preemptive, conversion or subscription rights | class_of_stock       0              
Number of redemption or sinking fund provisions | class_of_stock       0              
Private Placement                      
Common Stock                      
Convertible preferred stock conversion price (in dollars per share) | $ / shares   $ 0.35                  
Gross proceeds | $   $ 5,000,000                  
Proceeds from issuance or sale of equity | $   $ 4,650,000                  
Number of shares available under warrant (in shares)   14,285,714                  
Exercise price per share (in dollars per share) | $ / shares   $ 0.40                  
Private Placement | Common stock                      
Common Stock                      
Convertible preferred stock shares authorized (in shares)   11,940,000             11,940,000    
Issuance of stock (in shares)   2,345,714                  
Percentage of outstanding shares issued   19.99%                  
Private Placement | Series A Preferred Stock | Preferred Stock                      
Common Stock                      
Preferred stock, shares authorized (in shares)   4,179                  
Preferred stock, par value per share (in dollars per share) | $ / shares   $ 1,000                  
Common Stock Purchase Agreement | Aspire Capital Fund LLC (Aspire Capital)                      
Common Stock                      
Maximum value of common stock purchases committed to by counterparty | $     $ 15,000,000                
Number of shares sold under purchase agreement (in shares)     250,000       965,165        
Price per share (in dollars per share) | $ / shares     $ 4.00                
Gross proceeds | $     $ 1,000,000       $ 789,000        
Proceeds from issuance of common stock | $               $ 1,900,000      
Common Stock Purchase Agreement | Maximum | Aspire Capital Fund LLC (Aspire Capital)                      
Common Stock                      
Number of common stock issued per day on achieving threshold price per common stock (in shares)     50,000                
Equity Distribution Agreement for Sale of Common Stock | Maxim Group LLC (Maxim)                      
Common Stock                      
Proceeds from issuance of common stock | $           $ 905,000          
Sale of common stock through equity distribution agreement | $                   $ 12,075,338  
Payments of stock issuance costs | $           $ 33,000          
Equity Distribution Agreement for Sale of Common Stock | Maxim Group LLC (Maxim) | Common stock                      
Common Stock                      
Issuance of stock (in shares)           1,336,433          
TRx                      
Common Stock                      
Unregistered shares of common stock issued or issuable as part of acquisition | $ $ 8,100,000                    
Shares issued upon closing (in shares) 5,184,920                    
Contingent shares issuable as part of acquisition (in shares) 2,349,968