<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>14</ContextCount>
  <ElementCount>39</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>1</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="d559289d424b3.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="424B3" isUsgaap="true" original="d559289d424b3.htm">d559289d424b3.htm</File>
    <File>jhit-20240229.xsd</File>
    <File>jhit-20240229_def.xml</File>
    <File>jhit-20240229_lab.xml</File>
    <File>jhit-20240229_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g466944dsp081.jpg</File>
    <File>g466944dsp88.jpg</File>
    <File>g466944g0617061744348.jpg</File>
    <File>g466944g0626232836372.jpg</File>
    <File>g559289ajhim_blk.gif</File>
    <File>g559289amim_blk.gif</File>
    <File>g559289jhim_blk.jpg</File>
    <File>g559289mim_blk.jpg</File>
    <File>g559289moodysglobal.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="83">http://xbrl.sec.gov/cef/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
