Quarterly report pursuant to Section 13 or 15(d)

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

v3.20.2
Revenue Recognition - Schedule of Product Sales Allowances and Accruals (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Provision related to current period sales     $ 200 $ 200
Total revenues $ 301,207 $ 226,368 512,674 $ 448,820
Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance 12,394   11,786  
Provision related to current period sales 14,227   26,963  
Credits or payments made (12,902)   (25,030)  
Ending balance 13,719   13,719  
Total revenues $ 22,876   $ 45,559  
Provision for Rayaldee sales allowances and accruals as a percentage of gross Rayaldee sales 62.00%   59.00%  
Chargebacks, discounts, rebates and fees | Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance $ 2,863   $ 3,194  
Provision related to current period sales 4,468   9,293  
Credits or payments made (4,441)   (9,597)  
Ending balance 2,890   2,890  
Governmental | Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance 6,199   5,841  
Provision related to current period sales 9,073   16,281  
Credits or payments made (8,273)   (15,123)  
Ending balance 6,999   6,999  
Returns | Rayaldee        
Accounts Receivable, Allowance for Credit Loss [Roll Forward]        
Beginning balance 3,332   2,751  
Provision related to current period sales 686   1,389  
Credits or payments made (188)   (310)  
Ending balance $ 3,830   $ 3,830