v3.7.0.1
NET LOSS PER SHARE - Calculation of Basic and Diluted Net Income Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Numerator:        
Net loss $ (3,873) $ (7,412) $ (12,892) $ (19,935)
Denominator:        
Weighted-average shares used to compute net loss per share, basic and diluted 53,175,684 49,798,994 52,808,412 49,467,667
Basic (in dollars per share) $ (0.07) $ (0.15) $ (0.24) $ (0.40)