v3.25.2
John Hancock Mid Cap Growth Fund Performance Management - Class NAV [Member] - John Hancock Mid Cap Growth Fund
Mar. 31, 2025
Prospectus [Line Items]  
Bar Chart and Performance Table [Heading] <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Past performance</span>
Performance Narrative [Text Block] The following information illustrates the variability of the fund’s returns and provides some indication of the risks of investing in the fund by showing changes in the fund’s performance from year to year and by showing how the fund’s average annual returns compared with a broad-based securities market index. Past performance (before and after taxes) does not indicate future results. The Russell Midcap Growth Index shows how the fund’s performance compares against the returns of similar investments. All figures assume dividend reinvestment. Performance information is updated daily, monthly, and quarterly and may be obtained by calling 800-344-1029 between 8:00 a.m. and 7:00p.m., Eastern time, on most business days.A note on performanceThe fund is the successor to Mid Cap Stock Fund, a series of John Hancock Funds II (the predecessor fund). The fund acquired the assets and liabilities of the predecessor fund after the close of business on October 15, 2021. As a result of the transaction, the fund adopted the accounting and performance history of the predecessor fund. Class 1 shares of the predecessor fund commenced operations on October 17, 2005. Class NAV shares of the fund commenced operations on October 18, 2021. Returns shown prior to Class NAV shares’ commencement date are those of Class 1 shares of the predecessor fund. Returns for Class NAV shares would have been substantially similar to returns of Class 1 shares because each share class is invested in the same portfolio of securities and returns would differ only to the extent that expenses of the classes are different. To the extent expenses of a class would have been higher than expenses of Class 1 shares for the periods shown, performance would have been lower.Please note that after-tax returns reflect the highest individual federal marginal income-tax rate in effect as of the date provided and do not reflect any state or local taxes. Your actual after-tax returns may be different. After-tax returns are not relevant to shares held in an IRA, 401(k), or other tax-advantaged investment plan.
Performance Past Does Not Indicate Future [Text] <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">Past performance (before and after taxes) does not indicate future results. </span>
Performance Information Illustrates Variability of Returns [Text] <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">The following information illustrates the variability of the fund’s returns and provides some indication of the risks of investing in the fund by showing changes in the fund’s performance from year to year and by showing how the fund’s average annual returns compared with a broad-based securities market index. </span>
Bar Chart [Heading] <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;">Calendar year total returns (%)—Class NAV</span>
Bar Chart Closing [Text Block] Year-to-date total return through:Q2 20255.08%Best quarter:Q2 202042.03%Worst quarter:Q2 2022-29.15%
Performance Table Heading <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Average annual total returns (%)—as of 12/31/2024</span>
Performance Table Uses Highest Federal Rate <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">Please note that after-tax returns reflect the highest individual federal marginal income-tax rate in effect as of the date provided and do not reflect any state or local taxes.</span>
Performance Table Not Relevant to Tax Deferred <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> Your actual after-tax returns may be different. After-tax returns are not relevant to shares held in an IRA, 401(k), or other </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">tax-advantaged investment plan.</span>
Performance Availability Phone [Text] <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">800-344-1029 between 8:00 </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">a.m.</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> and 7:00</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">p.m.</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">, Eastern time, on most business days</span>
Class NAV  
Prospectus [Line Items]  
Year to Date Return, Label [Optional Text] <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Year-to-date total return through:</span>
Bar Chart, Year to Date Return 5.08%
Bar Chart, Year to Date Return, Date Jun. 30, 2025
Highest Quarterly Return, Label [Optional Text] <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Best quarter:</span>
Highest Quarterly Return 42.03%
Highest Quarterly Return, Date Jun. 30, 2020
Lowest Quarterly Return, Label [Optional Text] <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Worst quarter:</span>
Lowest Quarterly Return (29.15%)
Lowest Quarterly Return, Date Jun. 30, 2022