v3.22.2.2
Stock-Based Compensation - Stock-based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total stock-based compensation expense $ 24,301 $ 64,332 $ 78,209 $ 76,002
Cost of goods sold        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total stock-based compensation expense 236 780 693 780
Selling, general, and administrative expenses        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Total stock-based compensation expense $ 24,065 $ 63,552 $ 77,516 $ 75,222