Consolidated Balance Sheet Components - Schedule of Allowance for Sales Returns (Details) - USD ($) $ in Thousands |
9 Months Ended | 12 Months Ended |
---|---|---|
Sep. 30, 2017 |
Dec. 31, 2016 |
|
Valuation And Qualifying Accounts Disclosure [Line Items] | ||
Beginning balance | $ (16,213) | |
Ending balance | (15,219) | $ (16,213) |
Allowance for Sales Returns | ||
Valuation And Qualifying Accounts Disclosure [Line Items] | ||
Beginning balance | (6,916) | (9,514) |
Charged to revenue | (12,495) | (20,810) |
Utilization of sales return/incentive reserve | 15,034 | 23,408 |
Ending balance | $ (4,377) | $ (6,916) |