WARRANTS (Details) - $ / shares |
Dec. 31, 2016 |
Aug. 28, 2012 |
|---|---|---|
| Class of Warrant or Right, Number of Securities Called by Warrants or Rights | 2,445 | |
| Exercise price of warrant (in dollars per share) | $ 12.27 | |
| Common stock warrant, Silicon Valley Bank, Original Term Loan | ||
| Class of Warrant or Right, Number of Securities Called by Warrants or Rights | 16,357 | |
| Exercise price of warrant (in dollars per share) | $ 0.07 |