Significant Accounting Policies and Basis of Presentation - Schedule of Allowance for Sales Incentives (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Beginning balance | $ 40,191 | ||
| Ending balance | 34,127 | $ 40,191 | |
| Allowance for sales incentives | |||
| Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Beginning balance | 28,903 | 48,411 | $ 30,838 |
| Add: Charged to revenue | 85,178 | 94,731 | 90,530 |
| Less: Utilization of sales incentive reserve | (91,057) | (114,239) | (72,957) |
| Ending balance | $ 23,024 | $ 28,903 | $ 48,411 |