Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Financial Statements Detail - 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
Condensed Consolidated Financial Statements Detail - 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 Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Numerator        
Net (loss) income $ (4,578,000) $ 26,344,000 $ (10,331,000) $ 15,915,000
Less: Deemed dividend on convertible preferred stock       (5,603,000)
Less: Allocation of undistributed earnings to participating securities   (10,306,000) 0 (3,703,000)
Net (loss) income available to common stockholders, basic (4,578,000) 16,038,000 (10,331,000) 6,609,000
Adjustments to undistributed earnings allocated to participating securities   (380,000)   (60,000)
Net (loss) income available to common stockholders, diluted $ (4,578,000) $ 16,418,000 $ (10,331,000) $ 6,669,000
Denominator        
Weighted average shares used in computing basic net (loss) income per share available to common stockholders 8,386 7,786 8,354 7,424
Effect of dilutive stock options   489   193
Weighted average shares used in computing diluted net (loss) income per share available to common stockholders 8,386 8,275 8,354 7,617