Quarterly report pursuant to Section 13 or 15(d)

Revenues - Activity (Details)

v3.21.2
Revenues - Activity (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Dec. 31, 2020
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance $ 6,065 $ 3,332  
Provision related to current period sales 12,060 9,076  
Credit or payments made during the period (10,827) (7,499)  
Balance 7,298 4,909  
Discounts and allowances 13,300 10,100  
Other accrued liabilities 13,486   $ 11,014
Other accrued liabilities      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance   4,900  
Discounts and allowances 12,100 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,200 1,000  
Chargebacks, Discounts and Fees      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance 2,461 1,293  
Provision related to current period sales 7,326 5,625  
Adjustment related to prior period sales   (75)  
Credit or payments made during the period (7,073) (5,020)  
Balance 2,714 1,823  
Government and Other Rebates      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance 2,115 1,801  
Provision related to current period sales 3,995 2,775  
Adjustment related to prior period sales   (490)  
Credit or payments made during the period (3,367) (2,407)  
Balance 2,743 1,679  
Returns      
SEC Schedule, 12-09, Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance 1,489 238  
Provision related to current period sales 739 676  
Adjustment related to prior period sales   565  
Credit or payments made during the period (387) (72)  
Balance $ 1,841 $ 1,407