XML 43 R32.htm IDEA: XBRL DOCUMENT v3.8.0.1
Balance Sheet Components - Schedule of Allowance for Sales Returns (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2018
Dec. 31, 2017
Movement in Valuation Allowances and Reserves [Roll Forward]    
Beginning balance $ (17,739)  
Ending balance (9,757) $ (17,739)
Allowance for Sales Returns    
Movement in Valuation Allowances and Reserves [Roll Forward]    
Beginning balance (6,907) (6,916)
Charged to revenue (1,587) (19,089)
Utilization of sales return/incentive reserve 4,695 19,098
Ending balance $ (3,799) $ (6,907)