Valuation and Qualifying Accounts - Accounts Receivable, Net (Details) - Distribution Fees, discounts and chargebacks - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Changes in the valuation allowance for accounts receivable, net | |||
| Allowance at the beginning of the year | $ 1,830 | $ 1,885 | $ 806 |
| Additions due to current period provision | 21,821 | 14,806 | 12,174 |
| Deductions due to payment | (21,007) | (14,861) | (11,095) |
| Allowance at the end of the year | $ 2,644 | $ 1,830 | $ 1,885 |