Stock-Based Compensation - Expense (Details) - Employee stock purchase plan and service-based stock options - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Total non-cash stock-based compensation expense | $ 10,140 | $ 9,520 | $ 21,645 | $ 19,354 |
Cost of product sales | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Total non-cash stock-based compensation expense | 1,109 | 911 | 2,249 | 2,152 |
Research and development | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Total non-cash stock-based compensation expense | 1,148 | 965 | 2,635 | 2,186 |
Selling, general and administrative | ||||
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
Total non-cash stock-based compensation expense | $ 7,883 | $ 7,644 | $ 16,761 | $ 15,016 |