Summary of Significant Accounting Policies - Schedule of Allowance for Doubtful Accounts (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 doubtful accounts | ||||
| Movement in Valuation Allowances and Reserves [Roll Forward] | ||||
| Beginning balance | 1,656 | $ 4,506 | 2,213 | $ 3,498 |
| Provision for doubtful accounts | 4,351 | 1,072 | 4,344 | 2,962 |
| Less: Utilization of sales return reserve | (138) | 0 | (688) | (882) |
| Ending balance | $ 5,869 | $ 5,578 | $ 5,869 | $ 5,578 |