Stock-Based Awards - Summary of Stock-Based Compensation Recognized (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Stock-based compensation expense | $ 130,368 | $ 104,979 | $ 85,735 |
Cost of sales | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Stock-based compensation expense | 902 | 871 | 827 |
Research and development | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Stock-based compensation expense | 74,464 | 59,097 | 47,949 |
Selling, general and administrative | |||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | |||
Stock-based compensation expense | $ 55,002 | $ 45,011 | $ 36,959 |