COMMITMENTS AND CONTINGENCIES - Additional Information (Details) $ in Thousands |
12 Months Ended | |||||
|---|---|---|---|---|---|---|
|
Mar. 04, 2014
USD ($)
|
Sep. 07, 2012
claim
|
Jun. 30, 2015
USD ($)
|
Jun. 30, 2014
USD ($)
|
Jun. 30, 2013
USD ($)
|
Mar. 02, 2014
USD ($)
|
|
| Property Subject to or Available for Operating Lease [Line Items] | ||||||
| Rent expense under operating leases | $ 3,600 | $ 2,300 | $ 1,700 | |||
| Advanced outstanding payments | 2,000 | |||||
| Shareholder class action complaints filed against Company | claim | 2 | |||||
| Export Compliance Matters | ||||||
| Property Subject to or Available for Operating Lease [Line Items] | ||||||
| One-time payment to the U.S. Department of the Treasury | $ 504 | |||||
| Loss contingency accrual | $ 1,600 | |||||
| Loss contingency accrual, decrease | $ 1,100 | |||||
| Inventories | ||||||
| Property Subject to or Available for Operating Lease [Line Items] | ||||||
| Inventory purchase obligation | $ 10,000 | |||||