Quarterly report pursuant to Section 13 or 15(d)

Revenue from Contracts with Customers - Additional Information (Details)

v3.21.2
Revenue from Contracts with Customers - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Dec. 31, 2020
Dec. 31, 2019
Revenues from External Customers and Long-Lived Assets [Line Items]            
Customer contract liabilities $ 1,315   $ 1,315   $ 29  
Accrued price protection liability 54,717 $ 5,902 54,717 $ 5,902 47,766 $ 12,557
Right of return assets 1,000   1,000   600  
Accounts Receivable            
Revenues from External Customers and Long-Lived Assets [Line Items]            
Impairment losses     0   0  
Reduction in Transaction Price            
Revenues from External Customers and Long-Lived Assets [Line Items]            
Accrued obligations to customers for price adjustments 16,200   16,200   10,277  
Sales Returns and Allowances            
Revenues from External Customers and Long-Lived Assets [Line Items]            
Accrued obligations to customers for stock rotation rights $ 2,761   $ 2,761   $ 2,036  
Revenue from Distributors | Revenue Benchmark | Distributors            
Revenues from External Customers and Long-Lived Assets [Line Items]            
Concentration risk percentage 45.00% 64.00% 45.00% 63.00%