Summary of Significant Accounting Policies - Schedule of Allowance for Sales Incentives (Details) - Allowance for Sales Incentives - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2021 |
Jun. 30, 2020 |
Jun. 30, 2021 |
Jun. 30, 2020 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | $ (20,136) | $ (9,273) | $ (30,838) | $ (19,476) |
| Charged to revenue | (14,956) | (8,248) | (27,574) | (17,657) |
| Utilization of sales incentive reserve | 18,452 | 8,559 | 41,772 | 28,171 |
| Ending balance | $ (16,640) | $ (8,962) | $ (16,640) | $ (8,962) |