Balance Sheet Components - Schedule of Allowance for Sales Incentives (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 Incentives | ||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||
| Balance, beginning of period | (8,962) | (19,476) |
| Charged to revenue | (10,470) | (28,127) |
| Utilization of sales return/incentive allowance | 11,366 | 39,537 |
| Balance, end of period | $ (8,066) | $ (8,066) |