XML 35 R25.htm IDEA: XBRL DOCUMENT v3.8.0.1
The Company and Summary of Significant Accounting Policies - Summary of Computation of Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Numerator:    
Net income (loss) $ 348 $ (4,405)
Shares used in computing net income (loss) per share    
Basic 8,130 6,647
Total shares: basic 8,130 6,647
Total shares: diluted 8,347 6,647
Net income per share:    
Basic $ 0.04 $ (0.66)
Diluted $ 0.04 $ (0.66)
Stock Option [Member]    
Shares used in computing net income (loss) per share    
Add: weighted-average stock options outstanding 63  
Unvested Restricted Stock Units [Member]    
Shares used in computing net income (loss) per share    
Add: weighted-average stock options outstanding 154