Annual report pursuant to Section 13 and 15(d)

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

v3.8.0.1
Net Income (Loss) per Share Available to Common Stockholders - Reconciliation of the 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, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Numerator                      
Net income (loss) $ (1,318,000) $ 26,344,000 $ 285,000 $ (10,715,000) $ (17,480,000) $ (12,525,000) $ (15,160,000) $ (8,365,000) $ 14,596,000 $ (53,530,000) $ (20,606,000)
Less: Deemed dividend on convertible preferred stock                 (5,603,000)    
Less: Allocation of undistributed earnings to participating securities                 (3,279,000) 0 0
Net income (loss) available to common stockholders, basic                 5,714,000 (53,530,000) (20,606,000)
Adjustments to undistributed earnings allocated to participating securities                 96,000    
Net income (loss) available to common stockholders, diluted                 $ 5,810,000 $ (53,530,000) $ (20,606,000)
Denominator                      
Weighted average shares used in computing basic net income (loss) per share available to common stockholders                 7,619 6,021 5,890
Effect of dilutive stock options                 360    
Effect of dilutive warrants                 1    
Weighted average shares outstanding used for diluted net income (loss) per share available to common stockholders                 7,980 6,021 5,890
Basic net income (loss) per share of common stock $ (0.16) $ 2.06 $ 0.02 $ (2.37) $ (2.89) $ (2.08) $ (2.52) $ (1.40) $ 0.75 $ (8.89) $ (3.50)
Diluted net income (loss) per share of common stock $ (0.16) [1] $ 1.98 [1] $ 0.02 [1] $ (2.37) [1] $ (2.89) $ (2.08) $ (2.52) $ (1.40) $ 0.73 $ (8.89) $ (3.50)
[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.