STOCKHOLDERS' EQUITY (Details) |
6 Months Ended | 12 Months Ended | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Nov. 23, 2016
USD ($)
$ / shares
shares
|
Nov. 01, 2016
$ / shares
shares
|
Jul. 31, 2015
USD ($)
Director
$ / shares
shares
|
May 11, 2015
USD ($)
$ / shares
shares
|
Apr. 23, 2015
USD ($)
$ / shares
shares
|
Dec. 24, 2014
$ / shares
shares
|
Jun. 30, 2015
USD ($)
$ / shares
|
Dec. 31, 2016
USD ($)
$ / shares
shares
|
Dec. 31, 2015
USD ($)
$ / shares
|
||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Proceeds from Warrant Exercises | $ | $ 4,635,000 | $ 0 | $ 4,635,000 | |||||||||||||||
Underwritten public offering (in shares) | shares | 3,500,000 | |||||||||||||||||
Warrants issued price (in dollars per share) | $ / shares | $ 0.01 | |||||||||||||||||
Warrants Outstanding (in shares) | shares | 3,736,617 | |||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | $ 5.00 | $ 5.00 | $ 5.00 | |||||||||||||||
Common Stock [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Common stock price per share (in dollars per share) | $ / shares | $ 7.00 | $ 7.00 | ||||||||||||||||
Underwritten public offering (in shares) | shares | 293,889 | 6,000,000 | ||||||||||||||||
Gross proceeds from offering | $ | $ 44,057,000 | |||||||||||||||||
Direct Placement [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Proceed from sale of stock from private placement | $ | $ 15,500,000 | |||||||||||||||||
Number of board of directors | Director | 2 | |||||||||||||||||
Common stock price per share (in dollars per share) | $ / shares | $ 5.50 | |||||||||||||||||
Underwritten public offering (in shares) | shares | 2,830,000 | |||||||||||||||||
Private Placement [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Proceed from sale of stock from private placement | $ | $ 10,000,000 | $ 7,000,000 | ||||||||||||||||
Common stock price per share (in dollars per share) | $ / shares | $ 8.00 | $ 3.00 | ||||||||||||||||
Underwritten public offering (in shares) | shares | 1,250,000 | 2,333,333 | ||||||||||||||||
Warrant issued (in shares) | shares | 625,000 | |||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | $ 10 | |||||||||||||||||
Placement Agent [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrant issued (in shares) | shares | 50,000 | |||||||||||||||||
Term of warrant | 5 years | |||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | $ 11.00 | |||||||||||||||||
2015 July Financing [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrants Outstanding (in shares) | shares | [1] | 20,000 | ||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | [1] | $ 6.05 | ||||||||||||||||
Expiration Date | [1] | Jul. 31, 2020 | ||||||||||||||||
2015 May Financing [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrants Outstanding (in shares) | shares | [2] | 625,000 | ||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | [2] | $ 10.00 | ||||||||||||||||
Expiration Date | [2] | Nov. 11, 2017 | ||||||||||||||||
2015 May Financing Agent Warrants [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrants Outstanding (in shares) | shares | [2] | 50,000 | ||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | [2] | $ 11.00 | ||||||||||||||||
Expiration Date | [2] | May 11, 2020 | ||||||||||||||||
2014 December Financing [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrants Outstanding (in shares) | shares | [3] | 2,572,881 | ||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | [3] | $ 5.00 | ||||||||||||||||
Expiration Date | [3] | Dec. 24, 2019 | ||||||||||||||||
2014 December Financing Agent Warrants [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrants Outstanding (in shares) | shares | [3] | 68,735 | ||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | [3] | $ 5.00 | ||||||||||||||||
Expiration Date | [3] | Dec. 18, 2019 | ||||||||||||||||
2012 Series B Private Placement [Member] | ||||||||||||||||||
Class of Warrant or Right [Line Items] | ||||||||||||||||||
Warrants Outstanding (in shares) | shares | [4] | 400,001 | ||||||||||||||||
Exercise Price (in dollars per share) | $ / shares | [4] | $ 25.00 | ||||||||||||||||
Expiration Date | [4] | Oct. 24, 2018 | ||||||||||||||||
|