XML 10 R1.htm IDEA: XBRL DOCUMENT v3.23.2
Cover - shares
6 Months Ended
Jun. 30, 2023
Jul. 31, 2023
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2023  
Document Transition Report false  
Entity File Number 001-38853  
Entity Registrant Name NGM BIOPHARMACEUTICALS, INC.  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 26-1679911  
Entity Address, Address Line One 333 Oyster Point Boulevard  
Entity Address, City or Town South San Francisco  
Entity Address, State or Province CA  
Entity Address, Postal Zip Code 94080  
City Area Code 650  
Local Phone Number 243-5555  
Title of 12(b) Security Common Stock, par value $0.001 per share  
Trading Symbol NGM  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business true  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   82,715,507
Amendment Flag false  
Document Fiscal Year Focus 2023  
Document Fiscal Period Focus Q2  
Entity Central Index Key 0001426332  
Current Fiscal Year End Date --12-31