XML 51 R40.htm IDEA: XBRL DOCUMENT v3.19.1
Balance Sheet Components - Schedule of Allowance for Sales Returns (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2019
Dec. 31, 2018
Movement in Valuation Allowances and Reserves [Roll Forward]    
Beginning balance $ (21,897)  
Ending balance (11,776) $ (21,897)
Allowance for Sales Returns    
Movement in Valuation Allowances and Reserves [Roll Forward]    
Beginning balance (7,335) (6,907)
Charged to revenue (2,222) (17,396)
Utilization of sales return/incentive reserve 4,961 16,968
Ending balance $ (4,596) $ (7,335)