v3.25.4
Stockholders' Equity - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Oct. 03, 2023
Jun. 30, 2019
Dec. 31, 2025
Dec. 31, 2024
Feb. 20, 2024
Class Of Stock [Line Items]          
Fair Value Adjustment of Warrants     $ (2,308) $ (16,173)  
Commissions and Offering Expenses Payable $ 19,600        
Common stock, par value     $ 0.001 $ 0.001  
Preferred Stock Par Value         $ 0.001
Series A Preferred Stock [Member]          
Class Of Stock [Line Items]          
Shares Issued, Price Per Share         $ 12
October 2023 Financing [Member]          
Class Of Stock [Line Items]          
Fair Value Adjustment of Warrants     $ 2,300    
Proceeds from Warrant Exercises     $ 2,600    
The purchase warrants were recorded as a liability $ 13,400        
October 2023 Financing [Member] | Maximum          
Class Of Stock [Line Items]          
Percentage Of Common Stock Ownership To Exercise Warrant 9.99%        
October 2023 Financing [Member] | Minimum          
Class Of Stock [Line Items]          
Percentage Of Common Stock Ownership To Exercise Warrant 4.99%        
Common Stock [Member] | Underwritten Public Offering [Member]          
Class Of Stock [Line Items]          
Sale of common stock, shares 3,921,928        
Shares Issued, Price Per Share $ 2.84        
Warrant [Member] | October 2023 Financing [Member]          
Class Of Stock [Line Items]          
Warrants exercised     2,920,126    
Common Stock And Warrants [Member] | Underwritten Public Offering [Member]          
Class Of Stock [Line Items]          
Warrants To Purchase Shares Of Common Stock 3,472,435        
Sale of stock, price per share $ 2.839        
Common Stock And Warrants [Member] | October 2023 Financing [Member] | Underwritten Public Offering [Member]          
Class Of Stock [Line Items]          
Warrants To Purchase Shares Of Common Stock 7,394,363        
Sale of stock, price per share $ 3.408        
Pre-Funded Warrants          
Class Of Stock [Line Items]          
Proceeds from Warrant Exercises     $ 0 $ 2  
Ginkgo Bioworks, Inc.          
Class Of Stock [Line Items]          
Sale of stock, price per share   $ 135      
Proceeds, net of issuance costs, from issuance of common stock and pre-funded warrants   $ 79,900      
Proceeds from issuance of common stock, net of issuance costs   $ 57,000      
Ginkgo Bioworks, Inc. | Common Stock [Member]          
Class Of Stock [Line Items]          
Sale of common stock, shares   422,718      
Ginkgo Bioworks, Inc. | Pre-Funded Warrants          
Class Of Stock [Line Items]          
Warrants exercise price per share   $ 135      
Warrants exercise price per share paid at closing of offering   $ 134.85      
Proceeds from sale of pre-funded warrants, net of issuance costs   $ 22,900      
Warrants exercised     0    
Ginkgo Bioworks, Inc. | Pre-Funded Warrants | Maximum          
Class Of Stock [Line Items]          
Warrants to purchase shares of common stock   169,874      
Unbeneficial percentage of ownership after exercise of common stock outstanding effect to issuance   19.99%