XML 73 R59.htm IDEA: XBRL DOCUMENT v3.7.0.1
STOCK BASED COMPENSATION - Stock-based compensation expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Stock-based compensation expense $ 2,785 $ 3,719 $ 4,992
Cost of revenues      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Stock-based compensation expense 264 448 601
Research and development      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Stock-based compensation expense 1,861 2,296 2,854
Sales, general and administrative      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]      
Stock-based compensation expense $ 660 $ 975 $ 1,537