Summary of Significant Accounting Policies - Schedule of Allowance for Sales Incentives (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | $ 34,127 | |||
| Ending balance | $ 39,864 | 39,864 | ||
| Allowance for sales incentives | ||||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | 16,520 | $ 11,672 | 23,024 | $ 28,903 |
| Add: Charged to revenue | 32,772 | 16,993 | 56,033 | 27,550 |
| Less: Utilization of sales incentive reserve | (22,651) | (11,237) | (52,416) | (39,025) |
| Ending balance | $ 26,641 | $ 17,428 | $ 26,641 | $ 17,428 |