Revenue Recognition - Schedule of Product Sales Allowances and Accruals (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2022 |
Sep. 30, 2022 |
Jun. 30, 2022 |
Mar. 31, 2022 |
Dec. 31, 2021 |
Sep. 30, 2021 |
Jun. 30, 2021 |
Mar. 31, 2021 |
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
Accounts Receivable, Allowance for Credit Loss [Roll Forward] | |||||||||||
Provision related to current period sales | $ 300 | $ 400 | $ 200 | ||||||||
Total revenues | $ 185,340 | $ 179,744 | $ 309,893 | $ 329,219 | $ 401,332 | $ 385,813 | $ 442,408 | $ 545,165 | 1,004,196 | 1,774,718 | 1,435,413 |
Rayaldee | |||||||||||
Accounts Receivable, Allowance for Credit Loss [Roll Forward] | |||||||||||
Beginning balance | 10,152 | 11,737 | 10,152 | 11,737 | 11,786 | ||||||
Provision related to current period sales | 32,330 | 37,265 | 52,391 | ||||||||
Credits or payments made | (34,204) | (38,850) | (52,440) | ||||||||
Ending balance | 8,278 | 10,152 | 8,278 | 10,152 | 11,737 | ||||||
Total revenues | $ 59,557 | $ 64,301 | $ 88,187 | ||||||||
Provision for Rayaldee sales allowances and accruals as a percentage of gross Rayaldee sales | 54.00% | 58.00% | 59.00% | ||||||||
Chargebacks, discounts, rebates and fees | Rayaldee | |||||||||||
Accounts Receivable, Allowance for Credit Loss [Roll Forward] | |||||||||||
Beginning balance | 2,014 | 2,332 | $ 2,014 | $ 2,332 | $ 3,194 | ||||||
Provision related to current period sales | 12,995 | 14,426 | 17,604 | ||||||||
Credits or payments made | (13,477) | (14,744) | (18,466) | ||||||||
Ending balance | 1,532 | 2,014 | 1,532 | 2,014 | 2,332 | ||||||
Governmental | Rayaldee | |||||||||||
Accounts Receivable, Allowance for Credit Loss [Roll Forward] | |||||||||||
Beginning balance | 5,499 | 5,812 | 5,499 | 5,812 | 5,841 | ||||||
Provision related to current period sales | 18,165 | 21,553 | 32,721 | ||||||||
Credits or payments made | (18,601) | (21,866) | (32,750) | ||||||||
Ending balance | 5,063 | 5,499 | 5,063 | 5,499 | 5,812 | ||||||
Returns | Rayaldee | |||||||||||
Accounts Receivable, Allowance for Credit Loss [Roll Forward] | |||||||||||
Beginning balance | $ 2,639 | $ 3,593 | 2,639 | 3,593 | 2,751 | ||||||
Provision related to current period sales | 1,170 | 1,286 | 2,066 | ||||||||
Credits or payments made | (2,126) | (2,240) | (1,224) | ||||||||
Ending balance | $ 1,683 | $ 2,639 | $ 1,683 | $ 2,639 | $ 3,593 |