Balance Sheet Components - Schedule of Allowance for Sales Returns (Details) $ in Thousands |
3 Months Ended |
|---|---|
|
Mar. 31, 2020
USD ($)
| |
| Movement in Valuation Allowances and Reserves [Roll Forward] | |
| Balance, beginning of period | $ (27,521) |
| Balance, end of period | (19,219) |
| Allowance for Sales Returns | |
| Movement in Valuation Allowances and Reserves [Roll Forward] | |
| Balance, beginning of period | (6,550) |
| Charged to revenue | (2,727) |
| Utilization of sales return/incentive allowance | 4,609 |
| Balance, end of period | $ (4,668) |