XML 302 R8.htm IDEA: XBRL DOCUMENT v3.25.4
Vanguard Mega Cap Growth Index Fund Shareholder Fees - Institutional [Member] - Vanguard Mega Cap Growth Index Fund - Institutional Shares
Sep. 30, 2025
Prospectus [Line Items]  
Maximum Cumulative Sales Charge (as a percentage) 0.00%
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) 0.00%
Maximum Sales Charge on Reinvested Dividends and Distributions (as a percentage) 0.00%
Redemption Fee (as a percentage of Amount Redeemed) 0.00%