Quarterly report pursuant to Section 13 or 15(d)

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

v3.19.1
Condensed Consolidated Financial Statements Details - 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, $ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Numerator    
Net income (loss) and comprehensive income (loss) $ 3,233 $ (3,806)
Less: Allocation of undistributed earnings to participating securities (1,352)  
Net income (loss) available to common stockholders, basic 1,881 (3,806)
Add: Adjustments to undistributed earnings allocated to participating securities 54  
Net income (loss) available to common stockholders, diluted $ 1,935 $ (3,806)
Denominator    
Weighted average shares used in computing basic net income (loss) per share available to common stockholders 8,706 8,313
Effect of dilutive stock options 618  
Weighted average shares used in computing diluted net income (loss) per share available to common stockholders 9,324 8,313
Basic net income (loss) per share available to common stockholders $ 0.22 $ (0.46)
Diluted net income (loss) per share available to common stockholders $ 0.21 $ (0.46)