XML 54 R37.htm IDEA: XBRL DOCUMENT v3.10.0.1
Summary of Significant Accounting Policies (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Summary of Significant Accounting Policies [Abstract]        
Net income $ (579) $ 2,004 $ 2,989 $ 5,296
Less: warrant derivative gain (853) (225) (1,683)
Less: beneficial conversion feature (1,125) (1,125)  
Less: deemed dividend for convertible preferred shares (71) (71)
Diluted net (loss) income $ (1,775) $ 1,151 $ 1,568 $ 3,613
Basic weighted-average common shares outstanding during the period 7,693 5,620 7,346 5,554
Add dilutive effects of warrants and non-vested shares of restricted stock   968 316 904
Diluted weighted-average common shares outstanding during the period 7,693 6,588 7,662 6,458
Basic net (loss) income per common share $ (0.08) $ 0.36 $ 0.41 $ 0.95
Diluted net (loss) income per common share $ (0.23) $ 0.17 $ 0.2 $ 0.56