Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation - Stock-Based Compensation Expense (Details)

v3.21.2
Stock-Based Compensation - Stock-Based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 16,022 $ 14,145 $ 42,943 $ 33,057
Cost of net revenue        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 151 143 468 417
Research and development        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 7,692 6,056 22,121 14,842
Selling, general and administrative        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 8,179 7,350 20,354 17,202
Restructuring expense        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 0 $ 596 $ 0 $ 596