Balance Sheet Components - Schedule of Allowance for Sales Returns (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended |
|---|---|---|
Sep. 30, 2020 |
Sep. 30, 2020 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Balance, beginning of period | $ (27,521) | |
| Balance, end of period | $ (17,143) | (17,143) |
| Allowance for Sales Returns | ||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Balance, beginning of period | (5,412) | (6,550) |
| Charged to revenue | (2,313) | (8,998) |
| Utilization of sales return/incentive allowance | 3,402 | 11,225 |
| Balance, end of period | $ (4,323) | $ (4,323) |