Quarterly report pursuant to Section 13 or 15(d)

Basis of presentation, summary of significant accounting policies (Loss Per Share) (Details)

v3.10.0.1
Basis of presentation, summary of significant accounting policies (Loss Per Share) (Details) - shares
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares not included in the computation of EPS 3,295,680 1,521,262
Warrants to purchase common stock [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares not included in the computation of EPS 1,671,113 1,257,929
Option to purchase common stock [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares not included in the computation of EPS 150,000 106,333
Unvested restricted stock units [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares not included in the computation of EPS 571,567 157,000
Escrow shares of common stock [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares not included in the computation of EPS 200,000
Convertible Series B preferred shares [Member]    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares not included in the computation of EPS 703,000