XML 41 R27.htm IDEA: XBRL DOCUMENT v3.7.0.1
Balance Sheet Components - Accounts receivable (Details) - USD ($)
$ in Thousands
Mar. 31, 2017
Jun. 30, 2016
Balance Sheet Related Disclosures [Abstract]    
Accounts receivable $ 41,163 $ 43,324
Less: Allowance for price adjustments (18,681) (16,700)
Less: Allowance for doubtful accounts (30) (30)
Accounts receivable, net $ 22,452 $ 26,594