Annual report pursuant to Section 13 and 15(d)

Net (Loss) Income Per Share Available to Common Stockholders - Reconciliation of Numerator and Denominator Used in Calculation of Basic and Diluted Net Income (Loss) per Share Available to Common Stockholders (Details)

v3.10.0.1
Net (Loss) Income Per Share Available to Common Stockholders - Reconciliation of Numerator and Denominator Used in Calculation of Basic and Diluted Net Income (Loss) per Share Available to Common Stockholders (Details) - USD ($)
$ / shares in Units, shares in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Numerator                    
Net (loss) income $ (3,012,000) $ (4,578,000) $ (1,947,000) $ (3,806,000) $ (1,318,000) $ 26,344,000 $ 285,000 $ (10,715,000) $ (13,343,000) $ 14,596,000
Less: Deemed dividend on convertible preferred stock                   (5,603,000)
Less: Allocation of undistributed earnings to participating securities                 0 (3,279,000)
Net (loss) income available to common stockholders, basic                 (13,343,000) 5,714,000
Adjustments to undistributed earnings allocated to participating securities                   96,000
Net (loss) income available to common stockholders, diluted                 $ (13,343,000) $ 5,810,000
Denominator                    
Weighted average shares used in computing basic net (loss) income per share available to common stockholders                 8,373 7,619
Effect of dilutive stock options                   360
Effect of dilutive warrants                   1
Weighted average shares used in computing diluted net (loss) income per share available to common stockholders                 8,373 7,980
Basic net (loss) income per share of common stock $ (0.35) $ (0.55) $ (0.23) $ (0.46) $ (0.16) $ 2.06 $ 0.02 $ (2.37) $ (1.59) $ 0.75
Diluted net (loss) income per share of common stock $ (0.35) $ (0.55) $ (0.23) $ (0.46) $ (0.16) [1] $ 1.98 [1] $ 0.02 [1] $ (2.37) [1] $ (1.59) $ 0.73
[1] For the quarters ended June 30, 2017 and September 30, 2017, the Company’s diluted net income per share of common stock was computed by giving effect to all potentially dilutive common stock equivalents outstanding during each of these periods.