v3.26.1
Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Sep. 16, 2021
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Stock-based compensation   $ 7,595 $ 18,803 $ 23,448 $ 36,189
New Ginkgo Earn-out shares          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period 5 years        
Restricted Stock Units          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Options, grants in period, weighted average grant date fair value (in dollars per share)         $ 7.95
Unrecognized compensation expense   27,600   $ 27,600  
Unrecognized stock-based compensation recognition period       1 year 4 months 24 days  
Granted (in shares)       704,507  
Unvested PSUs          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Unrecognized compensation expense   $ 15,000   $ 15,000  
Unrecognized stock-based compensation recognition period       9 months 18 days  
Granted (in shares)       3,102,611  
Unvested PSUs | Minimum          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Award vesting rights, percentage       0.00%  
Unvested PSUs | Maximum          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Award vesting rights, percentage       100.00%  
Restricted Stock          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Share-based payment award, award vesting period       4 years  
Award vesting rights, percentage       25.00%  
March 2025 PSUs | Minimum          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Award vesting rights, percentage       49.00%  
March 2025 PSUs | Maximum          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Award vesting rights, percentage       100.00%  
2021 Incentive Award Plan          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Common stock reserved for issuance (in shares)   4,304,034   4,304,034  
2022 Inducement Plan          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Common stock reserved for issuance (in shares)   298,803   298,803