v3.7.0.1

NET LOSS PER SHARE (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2017
Earnings Per Share [Abstract] |
Schedule of Calculation of Basic and Diluted Net Income (Loss) per Share | The following table presents the computation of basic and diluted net loss per share:
| Three Months Ended June 30, |  | Six Months Ended June 30,
| 2017 |  | 2016 |  | 2017 |  | 2016
| (in thousands, except for share and per share data)
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 |
Net loss per share: |  |  |  |  |  |  |
Basic and diluted | $ | (0.07 | ) |  | $ | (0.15 | ) |  | $ | (0.24 | ) |  | $ | (0.40 | )
Schedule of Antidilutive Securities Excluded from the Computation of Diluted Net Loss Per Share | The Company excluded the following period-end outstanding common stock equivalents from the computation of diluted net loss per share for the periods presented because including them would have been antidilutive:
| As of June 30,
| 2017 |  | 2016
Shares of common stock issuable under the Equity Incentive Plan | 10,396,671 |  |  | 12,397,881 |
Employee Stock Purchase Plan | 96,199 |  |  | 99,054 |
Total | 10,492,870 |  |  | 12,496,935 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration