Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share (Details)

v3.7.0.1
Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Numerator:        
Net income (loss) used for basic earnings per share $ (3,451) $ 11,928 $ (6,456) $ 10,082
Less change in fair value of warrant liability (190) 0 (612) 0
Net income (loss) used for diluted earnings per share $ (3,641) $ 11,928 $ (7,068) $ 10,082
Denominator:        
Basic weighted-average outstanding common shares 21,204 20,508 21,199 20,284
Effect of dilutive potential common shares resulting from options 0 254 2 129
Effect of dilutive potential common shares resulting from warrants 0 1,116 0 810
Weighted-average shares outstanding—diluted 21,204 21,878 21,201 21,223
Net income (loss) per common share:        
Basic $ (0.16) $ 0.58 $ (0.3) $ 0.5
Diluted $ (0.17) $ 0.55 $ (0.33) $ 0.48