STOCKHOLDERS' EQUITY - Common Stock Reserved for Future Issuance (Details) - shares |
Mar. 31, 2017 |
Dec. 31, 2016 |
|---|---|---|
| Class of Stock [Line Items] | ||
| Total reserved shares of common stock for future issuance | 20,354,743 | |
| Employee Stock Options and Restricted Stock Units | ||
| Class of Stock [Line Items] | ||
| Options and Restricted Stock Units issued and outstanding | 9,465,157 | |
| 2014 Equity Incentive Plan | ||
| Class of Stock [Line Items] | ||
| Shares reserved for issuance under share-based compensation plan | 8,313,981 | 5,116,753 |
| Employee Stock Purchase Plan | ||
| Class of Stock [Line Items] | ||
| Shares reserved for issuance under share-based compensation plan | 2,575,605 |