Quarterly report pursuant to Section 13 or 15(d)

Revenues - Activity (Details)

v3.20.2
Revenues - Activity (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Dec. 31, 2019
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance $ 3,332 $ 1,635  
Provision related to current period sales 9,076 5,956  
Credit or payments made during the period (7,499) (4,230)  
Balance 4,909 3,361  
Discounts and allowances 10,100    
Other accrued liabilities 9,037   $ 6,721
Other accrued liabilities      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Discounts and allowances 9,100    
Accounts receivable and prepaid and other current assets      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Discounts and allowances 1,000    
Chargebacks, Discounts and Fees      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance 1,293 622  
Provision related to current period sales 5,625 3,561  
Adjustment related to prior period sales (75)    
Credit or payments made during the period (5,020) (2,932)  
Balance 1,823 1,251  
Government and Other Rebates      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance 1,801 843  
Provision related to current period sales 2,775 2,296  
Adjustment related to prior period sales (490)    
Credit or payments made during the period (2,407) (1,298)  
Balance 1,679 1,841  
Returns      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance 238 170  
Provision related to current period sales 676 99  
Adjustment related to prior period sales 565    
Credit or payments made during the period (72)    
Balance $ 1,407 $ 269