Quarterly report pursuant to Section 13 or 15(d)

Revenue Recognition - Schedule of Product Sales Allowances and Accruals (Details)

v3.21.2
Revenue Recognition - Schedule of Product Sales Allowances and Accruals (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Provision related to current period sales $ 300 $ 100 $ 600 $ 200
Total revenues 442,408 $ 301,207 987,573 $ 512,674
Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance 11,389   11,737  
Provision related to current period sales 11,107   20,929  
Credits or payments made (9,885)   (20,055)  
Ending balance 12,611   12,611  
Total revenues $ 16,122   $ 31,767  
Provision for Rayaldee sales allowances and accruals as a percentage of gross Rayaldee sales 69.00%   66.00%  
Chargebacks, discounts, rebates and fees | Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance $ 1,693   $ 2,332  
Provision related to current period sales 3,724   7,539  
Credits or payments made (3,716)   (8,170)  
Ending balance 1,701   1,701  
Governmental | Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance 6,209   5,812  
Provision related to current period sales 7,061   12,755  
Credits or payments made (5,684)   (10,981)  
Ending balance 7,586   7,586  
Returns | Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance 3,487   3,593  
Provision related to current period sales 322   635  
Credits or payments made (485)   (904)  
Ending balance $ 3,324   $ 3,324