XML 79 R66.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stockholders' Equity - Warrant Transactions (Details) - USD ($)
6 Months Ended 12 Months Ended
Aug. 14, 2017
Jan. 22, 2015
Jun. 30, 2015
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Aug. 14, 2015
Jul. 20, 2015
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Fair value adjustment of warrants           $ 7,178,035    
Loss on exchange of warrants       $ 0 $ 0 (1,845,810)    
Fair value of warrants issued       0 0 51,950    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right   5,000 12,500          
Class of warrant or right, exercise price of warrants or rights   $ 10.20 $ 10.20          
Investment Warrants Expiration Date   Jan. 22, 2020 Jun. 30, 2020          
Warrants and rights outstanding   $ (7,700) $ (44,250)          
Proceeds from issuance of warrants   $ 100            
2014 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Class of warrants or rights discount on warrant exercise price             26.00%  
2013 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Class of warrants or rights discount on warrant exercise price             25.00%  
2013 and 2014 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Percentage of warrants held by investors to participate in warrant exercise offer               70.00%
Stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Adjustments to additional paid in capital, share-based compensation, requisite service period recognition (in dollars)       635,427 748,092 705,466    
General and Administrative Expense [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Adjustments to additional paid in capital, share-based compensation, requisite service period recognition (in dollars)           7,600    
General and Administrative Expense [Member] | Stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Adjustments to additional paid in capital, share-based compensation, requisite service period recognition (in dollars)       573,338 658,509 657,387    
Cost of revenue [Member] | Stock options                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Adjustments to additional paid in capital, share-based compensation, requisite service period recognition (in dollars)       $ 13,381 $ 18,903 14,534    
2013 and 2014 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Loss on exchange of warrants           (1,845,810)    
Class of warrant or right, exercise price of warrants or rights             $ 5.87  
Proceeds from issuance of warrants $ 12,861,057              
Series A 2013 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Class of warrant or right, exercise price of warrants or rights             5.00  
Series A 2014 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Class of warrant or right, exercise price of warrants or rights             7.00  
Series B 2013 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Class of warrant or right, exercise price of warrants or rights             10.00  
Series B 2014 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Class of warrant or right, exercise price of warrants or rights             $ 10.00  
2014 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Loss on exchange of warrants           (1,197,821)    
Fair value of warrants issued 5,348,408              
Class of warrant or right, number of securities called by warrants or rights             (1,392,832)  
Warrants and rights outstanding             $ (1,181,638)  
Class of warrant or right, outstanding             (396,536)  
Class of warrants or rights discount on warrant exercise price             26.00%  
Proceeds from issuance of warrants 8,760,805              
2013 Warrants [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Fair value adjustment of warrants           647,989    
Loss on exchange of warrants           $ (647,989)    
Class of warrant or right, number of securities called by warrants or rights             (798,715)  
Class of warrants or rights discount on warrant exercise price             25.00%  
Proceeds from issuance of warrants $ 4,100,252              
Common Stock [Member]                
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                
Warrants exercised during the period, shares           2,191,547