MANDATORILY REDEEMABLE CONVERTIBLE PREFERRED STOCK AND EQUITY (Details) | Jul. 09, 2015USD ($) | Jun. 30, 2015USD ($)$ / sharesshares | Jun. 30, 2014USD ($) | Jun. 30, 2015USD ($)BoardMember$ / sharesshares | Jun. 30, 2014USD ($)$ / sharesshares | Dec. 31, 2014$ / sharesshares |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Preferred stock shares issued (in shares) | | 31,046 | | 31,046 | | |
Warrants to purchase common stock issued (in shares) | | | | 9,313,873 | | |
Proceeds from issuance of preferred stock and warrants | $ | | | | $ 22,500,000 | | |
Exchange of subordinated notes | $ | | | | 8,500,000 | | |
Prepayment of penalties, legal and accounting fees | $ | | | | 1,800,000 | | |
Preferred stock issuance fees | $ | | | | 803,000 | | |
Additional debt discounts | $ | | | | 450,000 | | |
Interest expense | $ | | | | $ 250,000 | | |
Preferred stock dividend percentage (in hundredths) | | | | 8.00% | | |
Preferred stock dividend stated value (in dollars per share) | $ / shares | | | | $ 1,000 | | |
Preferred stock dividend payment due date | | | | Jul. 1, 2017 | | |
Preferred stock redemption price (in dollars per share) | $ / shares | | $ 1,000 | | $ 1,000 | | |
Trading price percentage (in hundredths) | | 85.00% | | 85.00% | | |
Accreted value of dividends | $ | | $ (459,000) | $ 0 | $ (459,000) | $ 0 | |
Voting right to appoint number of board members | BoardMember | | | | 2 | | |
Number of board members after appointment | BoardMember | | | | 11 | | |
Number of board members resigned | BoardMember | | | | 4 | | |
Number of board members after resignations | BoardMember | | | | 7 | | |
Warrants issued with preferred stock exercisable term | | | | 5 years | | |
Common stock shares outstanding (in shares) | | 12,879,433 | | 12,879,433 | | 13,335,258 |
Compensation expense | $ | | | | $ 154,000 | 456,000 | |
Reduction in share-based compensation expense | $ | | $ 146,000 | | | | |
Restricted common stock granted | $ | | | | $ 417,000 | | |
Restricted Stock-Based Compensation Award Activity [Roll Forward] | | | | | | |
Vested (in shares) | | | | (57,224) | | |
Restricted Stock-Based Compensation Awards Activity Weighted Average Grant Date Fair Value [Abstract] | | | | | | |
Publicly traded stock price (in dollars per share) | $ / shares | | $ 0.76 | | $ 0.76 | | |
Unamortized compensation that will vest solely on completion of future services | $ | | $ 98,000 | | $ 98,000 | | |
Vesting period of unamortized compensation | | | | 11 months | | |
Weighted-average remaining vesting period unamortized compensation | | | | 7 months | | |
Unamortized compensation that will vest based on achieving certain performance criteria | $ | | $ 73,000 | | $ 73,000 | | |
Vesting period of unamortized compensation on achieving certain performance criteria | | | | 11 months | | |
Weighted-average remaining vesting period of unamortized compensation on achieving certain performance criteria | | | | 8 months | | |
Subsequent Event [Member] | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Aggregated subscription amount | $ | $ 31,000,000 | | | | | |
Maximum [Member] | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Preferred stock conversion price (in dollars per share) | $ / shares | | | | $ 1 | | |
Exercise price of warrants issued with preferred stock (in dollars per share) | $ / shares | | $ 1.50 | | $ 1.50 | | |
Maximum [Member] | Subsequent Event [Member] | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Payment of partial liquidation damages percentage on aggregated subscription amount (in hundredths) | 6.00% | | | | | |
Certain Founding Shareholders [Member] | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Common stock shares outstanding (in shares) | | | | | | 437,241 |
Common shares forfeiture period | | | | | | 2 years |
Board Members [Member] | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Preferred stock shares issued (in shares) | | 16,500 | | 16,500 | | |
Warrants to purchase common stock issued (in shares) | | | | 4,950,000 | | |
Proceeds from issuance of preferred stock and warrants | $ | | | | $ 10,000,000 | | |
Restricted Stock [Member] | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | |
Compensation expense | $ | | $ (40,000) | $ 421,000 | $ 154,000 | $ 456,000 | |
Restricted Stock-Based Compensation Award Activity [Roll Forward] | | | | | | |
Granted (in shares) | | | | 15,136 | 90,138 | |
Vested (in shares) | | | | (104,885) | (61,202) | |
Forfeited (in shares) | | | | (33,271) | (78,470) | |
Restricted Stock [Member] | Minimum [Member] | | | | | | |
Restricted Stock-Based Compensation Awards Activity Weighted Average Grant Date Fair Value [Abstract] | | | | | | |
Granted (in dollars per share) | $ / shares | | | | $ 4.60 | $ 4.60 | |
Restricted Stock [Member] | Maximum [Member] | | | | | | |
Restricted Stock-Based Compensation Awards Activity Weighted Average Grant Date Fair Value [Abstract] | | | | | | |
Granted (in dollars per share) | $ / shares | | | | $ 5.01 | $ 5.01 | |
Restricted Stock [Member] | Executive Officer and Director [Member] | | | | | | |
Restricted Stock-Based Compensation Award Activity [Roll Forward] | | | | | | |
Granted (in shares) | | | | | 64,638 | |
Restricted Stock [Member] | Other Members of Management [Member] | | | | | | |
Restricted Stock-Based Compensation Award Activity [Roll Forward] | | | | | | |
Granted (in shares) | | | | | 25,500 | |
Restricted Stock, Service Shares [Member] | | | | | | |
Restricted Stock-Based Compensation Award Activity [Roll Forward] | | | | | | |
Nonvested shares at the beginning of the period (in shares) | | | | 179,000 | | |
Granted (in shares) | | | | 15,000 | | |
Vested (in shares) | | | | (105,000) | | |
Forfeited (in shares) | | | | (3,000) | | |
Nonvested shares at the end of the period (in shares) | | 86,000 | | 86,000 | | 179,000 |
Restricted Stock-Based Compensation Awards Activity Weighted Average Grant Date Fair Value [Abstract] | | | | | | |
Nonvested shares at the beginning of the period (in dollars per share) | $ / shares | | | | $ 4.13 | | |
Granted (in dollars per share) | $ / shares | | | | 0.76 | | |
Vested (in dollars per share) | $ / shares | | | | 4.13 | | |
Forfeited (in dollars per share) | $ / shares | | | | 5.79 | | |
Nonvested shares at the end of the period (in dollars per share) | $ / shares | | $ 3.49 | | $ 3.49 | | $ 4.13 |
Restricted Stock, Performance Shares [Member] | | | | | | |
Restricted Stock-Based Compensation Award Activity [Roll Forward] | | | | | | |
Nonvested shares at the beginning of the period (in shares) | | | | 56,000 | | |
Granted (in shares) | | | | 0 | | |
Vested (in shares) | | | | 0 | | |
Forfeited (in shares) | | | | (31,000) | | |
Nonvested shares at the end of the period (in shares) | | 25,000 | | 25,000 | | 56,000 |
Performance shares forfeited due to performance criteria (in shares) | | | | | (66,244) | |
Restricted Stock-Based Compensation Awards Activity Weighted Average Grant Date Fair Value [Abstract] | | | | | | |
Nonvested shares at the beginning of the period (in dollars per share) | $ / shares | | | | $ 5.09 | | |
Granted (in dollars per share) | $ / shares | | | | 0 | | |
Vested (in dollars per share) | $ / shares | | | | 0 | | |
Forfeited (in dollars per share) | $ / shares | | | | 5.16 | | |
Nonvested shares at the end of the period (in dollars per share) | $ / shares | | $ 5.05 | | $ 5.05 | | $ 5.09 |