Quarterly report pursuant to Section 13 or 15(d)

THE COMPANY AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Earnings Per Share, Basic and Diluted (Details)

v3.8.0.1
THE COMPANY AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Earnings Per Share, Basic and Diluted (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Numerator:        
Net income (loss) to common stockholders $ (4,237) $ (4,611) $ 4,958 $ (10,355)
Denominator:        
Weighted-average common shares outstanding, basic (in shares) 27,327,936 22,853,865 24,588,296 22,775,918
Weighted-average common shares outstanding, diluted (in shares) 27,327,936 22,853,865 26,138,201 22,775,918
Basic (in dollars per share) $ (0.16) $ (0.20) $ 0.20 $ (0.45)
Diluted (in dollars per share) $ (0.16) $ (0.20) $ 0.19 $ (0.45)
Antidilutive securities (in shares)     4,438,059 2,150,579
Restricted Stock Units        
Denominator:        
Antidilutive securities (in shares) 462,046 462,046   462,046
Securities that are potentially dilutive to earnings per share (in shares)     462,046  
Stock options        
Denominator:        
Antidilutive securities (in shares) 1,087,859 1,087,859   1,087,859
Securities that are potentially dilutive to earnings per share (in shares)     1,087,859