<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2026"
  xmlns:us-gaap="http://fasb.org/us-gaap/2026"
  xmlns:voya="http://voya/20260630"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="voya-20260630.xsd" xlink:type="simple"/>
    <context id="From2026-01-01to2026-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2026-01-01to2026-06-30_C000023718Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">voya:C000023718Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000023718Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">voya:C000023718Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000023718Member_Other0BNYMinus91282CET4SectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">voya:C000023718Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">voya:Other0BNYMinus91282CET4SectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000023718Member_A0BNYMinusBIN2JE6R5SectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">voya:C000023718Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">voya:A0BNYMinusBIN2JE6R5SectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000023718Member_A0BNYMinus3130B1ZM2SectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">voya:C000023718Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">voya:A0BNYMinus3130B1ZM2SectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000023718Member_A0BNYMinus912797UV7SectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000002663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">voya:C000023718Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">voya:A0BNYMinus912797UV7SectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Pure">
        <measure>pure</measure>
    </unit>
    <unit id="Holding">
        <measure>voya:Holding</measure>
    </unit>
    <dei:EntityRegistrantName contextRef="From2026-01-01to2026-06-30" id="Fact000012">Voya Government Money Market Portfolio</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="From2026-01-01to2026-06-30" id="Fact000013">2026-06-30</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey
      contextRef="From2026-01-01to2026-06-30"
      id="EntityCentralIndexKey_5999B405A6EE437F">0000002663</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2026-01-01to2026-06-30" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType contextRef="From2026-01-01to2026-06-30" id="Fact000004">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="From2026-01-01to2026-06-30" id="xdx2ixbrl0011">N-CSRS</dei:DocumentType>
    <oef:ClassName
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="ClassName_3ACA5D04FB10462F">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="TradingSymbol_3889757C4B824A87">IVMXX</dei:TradingSymbol>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="From2026-01-01to2026-06-30"
      id="ShareholderReportAnnualOrSemiAnnual_CFDE3FB0503E4DA7">Semi-Annual Shareholder Report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="AnnlOrSemiAnnlStatementTextBlock_1753045E438C45E4">This semi-annual shareholder report contains important information about Voya Government Money Market Portfolio for the period of&#160;January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:FundName
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="FundName_1A7FD632E1CC42DC">Voya Government Money Market Portfolio</oef:FundName>
    <oef:AddlInfoPhoneNumber
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="AddlInfoPhoneNumber_083E9492C5694299">1-800-992-0180</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="ExpensesTextBlock_8745F67487344D8C">&lt;div style="width: 100%; height: 100%; display: grid; grid-auto-rows: minmax(6px, max-content); grid-template-columns: repeat(auto-fill, 6px);"&gt;&lt;div style="flex-wrap: wrap; background: unset; text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 12px; font-size: 16px; font-weight: 400; border-radius: 0px; border-left: 4px solid rgb(199, 199, 199); display: flex; overflow: visible; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); grid-area: 1 / 1 / 4 / 121; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;div style="background: unset; color: rgb(0, 0, 0); text-align: left; text-underline-position: auto; text-decoration-skip-ink: auto; font-family: var(--ssr-caption-font-family); font-size: 13.3333px; font-weight: 400; box-sizing: border-box; display: flex; flex-flow: column; grid-area: auto; justify-content: flex-start; line-height: 20px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: preserve-breaks; width: 100%; height: 100%;"&gt;&lt;h2 style="box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 13.3333px; font-weight: 400; grid-area: auto; line-height: 20px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve-breaks;"&gt;&lt;span style="font-weight: 700; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 13.3333px; grid-area: auto; line-height: 20px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve-breaks;"&gt;What were the Fund&#x2019;s costs for the last six months?&lt;/span&gt;&#160; (based on a hypothetical $10,000 investment)&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="flex-wrap: wrap; background: rgba(255, 255, 255, 0); text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-weight: 400; border-radius: 0px; display: flex; overflow: hidden; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); flex-grow: 1; grid-area: 5 / 1 / 11 / 121; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;div style="box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: hidden; text-align-last: auto; white-space-collapse: collapse; width: 100%; height: 100%;"&gt;&lt;table style="border-collapse: collapse; table-layout: auto; width: 720px; background-color: rgba(255, 255, 255, 0); box-sizing: border-box; color: rgb(0, 0, 0); display: table; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: collapse;"&gt;&lt;caption style="box-sizing: border-box; color: rgba(0, 0, 0, 0); display: table-caption; flex-wrap: nowrap; font-size: 1px; font-weight: 400; grid-area: auto; line-height: 1.5px; margin: 0px; overflow: visible; text-align: -webkit-center; text-align-last: auto; white-space-collapse: collapse; height: 0px;"&gt;&lt;span style="box-sizing: border-box; color: rgba(0, 0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 1px; font-weight: 400; grid-area: auto; line-height: 1.5px; margin: 0px; overflow: visible; text-align: -webkit-center; text-align-last: auto; white-space-collapse: collapse;"&gt;Table Summary&lt;/span&gt;&lt;/caption&gt;&lt;thead style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-header-group; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;tr style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 18px;"&gt;&lt;th colspan="1" style="padding: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 700; font-size: 12px; text-align: left; vertical-align: middle; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(255, 255, 255); white-space: pre-wrap; line-height: 18px; background-color: rgb(64, 64, 64); box-sizing: border-box; display: table-cell; flex-wrap: nowrap; grid-area: auto; margin: 0px; overflow: visible; text-align-last: auto; width: calc(144px);"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; text-decoration: unset; box-sizing: border-box; color: rgb(255, 255, 255); flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 18px; overflow: visible; text-align: left; text-align-last: auto;"&gt;Class Name&lt;/div&gt;&lt;/th&gt;&lt;th colspan="1" style="padding: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 700; font-size: 12px; text-align: right; vertical-align: middle; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(255, 255, 255); white-space: pre-wrap; line-height: 18px; background-color: rgb(64, 64, 64); box-sizing: border-box; display: table-cell; flex-wrap: nowrap; grid-area: auto; margin: 0px; overflow: visible; text-align-last: auto; width: calc(240px);"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; text-decoration: unset; box-sizing: border-box; color: rgb(255, 255, 255); flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 18px; overflow: visible; text-align: right; text-align-last: auto;"&gt;Costs of  $10K investment&lt;/div&gt;&lt;/th&gt;&lt;th colspan="1" style="padding: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 700; font-size: 12px; text-align: right; vertical-align: middle; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(255, 255, 255); white-space: pre-wrap; line-height: 18px; background-color: rgb(64, 64, 64); box-sizing: border-box; display: table-cell; flex-wrap: nowrap; grid-area: auto; margin: 0px; overflow: visible; text-align-last: auto; width: calc(336px);"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; text-decoration: unset; box-sizing: border-box; color: rgb(255, 255, 255); flex-wrap: nowrap; font-size: 12px; font-weight: 700; grid-area: auto; line-height: 18px; overflow: visible; text-align: right; text-align-last: auto;"&gt;Costs paid as % of  $10K investment (Annualized)&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row-group; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;tr style="background-color: rgb(255, 255, 255); box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 18px;"&gt;&lt;th colspan="1" style="padding: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: left; vertical-align: middle; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; line-height: 18px; background-color: rgba(255, 255, 255, 0); box-sizing: border-box; display: table-cell; flex-wrap: nowrap; grid-area: auto; margin: 0px; overflow: visible; text-align-last: auto; width: calc(144px);"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; text-decoration: unset; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; overflow: visible; text-align: left; text-align-last: auto;"&gt;Class I&lt;/div&gt;&lt;/th&gt;&lt;td colspan="1" style="padding: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: center; vertical-align: middle; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; line-height: 18px; background-color: rgba(255, 255, 255, 0); box-sizing: border-box; display: table-cell; flex-wrap: nowrap; grid-area: auto; margin: 0px; overflow: visible; text-align-last: auto; width: calc(240px);"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; text-decoration: unset; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; overflow: visible; text-align: center; text-align-last: auto;"&gt;$20&lt;/div&gt;&lt;/td&gt;&lt;td colspan="1" style="padding: 0px; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: center; vertical-align: middle; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; line-height: 18px; background-color: rgba(255, 255, 255, 0); box-sizing: border-box; display: table-cell; flex-wrap: nowrap; grid-area: auto; margin: 0px; overflow: visible; text-align-last: auto; width: calc(336px);"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; text-decoration: unset; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; overflow: visible; text-align: center; text-align-last: auto;"&gt;0.41%&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="flex-wrap: wrap; background: unset; text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-weight: 400; border-radius: 0px; display: flex; overflow: visible; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); flex-grow: 1; grid-area: 11 / 1 / 19 / 121; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;/div&gt;&lt;/div&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      decimals="0"
      id="ExpensesPaidAmt_ABB590DAF43043CC"
      unitRef="USD">20</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      decimals="INF"
      id="ExpenseRatioPct_6FABD822A2774815"
      unitRef="Pure">0.0041</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="AddlFundStatisticsTextBlock_3A7FD810EC994B4A">&lt;div style="width: 100%; height: 100%; display: grid; grid-auto-rows: minmax(6px, max-content); grid-template-columns: repeat(auto-fill, 6px);"&gt;&lt;div style="flex-wrap: wrap; background: rgb(64, 64, 64); text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-weight: 400; border-radius: 0px; display: flex; overflow: visible; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); grid-area: 1 / 1 / 4 / 121; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;div style="background: unset; color: rgb(255, 255, 255); text-align: center; text-underline-position: auto; text-decoration-skip-ink: auto; font-family: var(--ssr-h5-font-family); font-size: 13.3333px; font-weight: 700; box-sizing: border-box; display: flex; flex-flow: column; grid-area: auto; justify-content: flex-start; line-height: 20px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: preserve-breaks; width: 100%; height: 100%;"&gt;&lt;h2 style="box-sizing: border-box; color: rgb(255, 255, 255); display: block; flex-wrap: nowrap; font-size: 13.3333px; font-weight: 700; grid-area: auto; line-height: 20px; margin: 0px; overflow: visible; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;"&gt;Fund Statistics&#160;&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="flex-wrap: wrap; background: rgba(255, 255, 255, 0); text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-weight: 400; border-radius: 0px; display: flex; overflow: visible; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); flex-grow: 1; grid-area: 5 / 2 / 17 / 120; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;div style="background: transparent; box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: collapse; width: 100%; height: 100%;"&gt;&lt;ul style="width: 100%; display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: 1fr; margin: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; gap: 0px; align-items: center; background-color: transparent; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto; white-space-collapse: collapse; grid-auto-rows: minmax(6px, max-content);"&gt;&lt;li style="display: flex; align-items: center; height: 100%; margin: 0px; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto; white-space-collapse: collapse;"&gt;&lt;span style="padding-left: 0px; padding-right: 0px; height: 100%; flex: 2 1 0%; display: flex; flex-flow: row; align-items: center; justify-content: flex-start; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: left; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; box-sizing: border-box; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align-last: auto;"&gt;&lt;span style="display: block; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve;"&gt;Total Net Assets&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-left: 0px; padding-right: 0px; height: 100%; flex: 1 1 0%; display: flex; flex-flow: row; align-items: center; justify-content: flex-end; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: right; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; box-sizing: border-box; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align-last: auto;"&gt;&lt;span style="display: block; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align: right; text-align-last: auto; white-space-collapse: preserve;"&gt;$739,449,291&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="display: flex; align-items: center; height: 100%; margin: 0px; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto; white-space-collapse: collapse;"&gt;&lt;span style="padding-left: 0px; padding-right: 0px; height: 100%; flex: 2 1 0%; display: flex; flex-flow: row; align-items: center; justify-content: flex-start; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: left; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; box-sizing: border-box; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align-last: auto;"&gt;&lt;span style="display: block; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve;"&gt;# of Portfolio Holdings&lt;/span&gt;&lt;/span&gt;&lt;span style="padding-left: 0px; padding-right: 0px; height: 100%; flex: 1 1 0%; display: flex; flex-flow: row; align-items: center; justify-content: flex-end; font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400; font-size: 12px; text-align: right; text-decoration: unset; text-underline-position: auto; text-decoration-skip-ink: auto; font-style: normal; color: rgb(0, 0, 0); white-space: pre-wrap; box-sizing: border-box; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align-last: auto;"&gt;&lt;span style="display: block; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 12px; font-weight: 400; grid-area: auto; line-height: 18px; margin: 0px; overflow: visible; text-align: right; text-align-last: auto; white-space-collapse: preserve;"&gt;17&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="AsOf2026-06-30_C000023718Member"
      decimals="0"
      id="AssetsNet_29DEF5548DA348A6"
      unitRef="USD">739449291</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="AsOf2026-06-30_C000023718Member"
      decimals="INF"
      id="HoldingsCount_47CAEE29807C4CF1"
      unitRef="Holding">17</oef:HoldingsCount>
    <oef:HoldingsTableTextBlock
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="HoldingsTableTextBlock_64D355C18FAA4EF8">&lt;div style="width: 100%; height: 100%; display: grid; grid-auto-rows: minmax(6px, max-content); grid-template-columns: repeat(auto-fill, 6px);"&gt;&lt;div style="flex-wrap: wrap; background: unset; text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-weight: 400; border-radius: 0px; display: flex; overflow: visible; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); grid-area: 1 / 2 / 4 / 113; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;div style="background: unset; color: rgb(0, 0, 0); text-align: center; text-underline-position: auto; text-decoration-skip-ink: auto; font-family: var(--ssr-h5-font-family); font-size: 13.3333px; font-weight: 700; box-sizing: border-box; display: flex; flex-flow: column; grid-area: auto; justify-content: flex-start; line-height: 20px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: preserve-breaks; width: 100%; height: 100%;"&gt;&lt;h3 style="box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 13.3333px; font-weight: 700; grid-area: auto; line-height: 20px; margin: 0px; overflow: visible; text-align: center; text-align-last: auto; white-space-collapse: preserve-breaks;"&gt;Investment Type Allocation&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="flex-wrap: wrap; background: rgb(255, 255, 255); text-underline-position: auto; text-decoration-skip-ink: auto; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-weight: 400; border-radius: 0px; display: flex; overflow: visible; flex-shrink: 1; box-sizing: border-box; color: rgb(0, 0, 0); flex-grow: 1; grid-area: 4 / 4 / 49 / 117; line-height: 24px; margin: 0px; text-align-last: auto; white-space-collapse: collapse; height: 100%; grid-template-columns: repeat(auto-fill, 6px); grid-auto-rows: minmax(6px, max-content);"&gt;&lt;div style="height: 100%; width: 100%; user-select: none; pointer-events: none; touch-action: none; position: relative; inset: 0px; box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: collapse;"&gt;&lt;img alt="A graphical representation of Investments made." id="template-image-5726986b-i3b643e18e7e275118dd49388" src="tm2618565d1_tsrimg003.jpg" style="pointer-events: all; width: 678px; height: 270px; background-color: rgb(255, 255, 255); box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: clip; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; max-width: 100%;"/&gt;&lt;div style="z-index: 99; position: absolute; inset: 0px; width: 100%; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); display: block; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; white-space-collapse: collapse;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;table style="inset: 520px 591.109px 144px 70px; box-sizing: border-box; clip: rect(0px, 0px, 0px, 0px); color: rgb(0, 0, 0); display: table; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: -1px; overflow: hidden; position: absolute; text-align-last: auto; white-space-collapse: collapse; width: 1px; height: 1px;"&gt;&lt;caption style="box-sizing: border-box; color: rgba(0, 0, 0, 0); display: table-caption; flex-wrap: nowrap; font-size: 1px; font-weight: 400; grid-area: auto; line-height: 1.5px; margin: 0px; overflow: visible; text-align: -webkit-center; text-align-last: auto; white-space-collapse: collapse; height: 0px;"&gt;&lt;span style="box-sizing: border-box; color: rgba(0, 0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 1px; font-weight: 400; grid-area: auto; line-height: 1.5px; margin: 0px; overflow: visible; text-align: -webkit-center; text-align-last: auto; white-space-collapse: collapse;"&gt;Table Summary&lt;/span&gt;&lt;/caption&gt;&lt;thead style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-header-group; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;tr style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 26px;"&gt;&lt;th colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 700; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align: center; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 700; grid-area: auto; line-height: 24px; overflow: visible; text-align: center; text-align-last: auto;"&gt;Value&lt;/div&gt;&lt;/th&gt;&lt;th colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 700; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align: center; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 700; grid-area: auto; line-height: 24px; overflow: visible; text-align: center; text-align-last: auto;"&gt;Value&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row-group; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;tr style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 98px;"&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;Assets in Excess of Other Liabilities&lt;/div&gt;&lt;/td&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;0.5%&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 98px;"&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;U.S. Treasury Repurchase Agreements&lt;/div&gt;&lt;/td&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;18.6%&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 98px;"&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;U.S. Government Agency Debt&lt;/div&gt;&lt;/td&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;39.2%&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-row; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse; height: 74px;"&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;U.S. Treasury Debt&lt;/div&gt;&lt;/td&gt;&lt;td colspan="1" style="box-sizing: border-box; color: rgb(0, 0, 0); display: table-cell; flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; margin: 0px; overflow: visible; padding: 1px; text-align-last: auto; vertical-align: middle; white-space-collapse: collapse;"&gt;&lt;div style="display: inline-block; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; white-space: pre-line; height: 100%; box-sizing: border-box; color: rgb(0, 0, 0); flex-wrap: nowrap; font-size: 16px; font-weight: 400; grid-area: auto; line-height: 24px; overflow: visible; text-align-last: auto;"&gt;41.7%&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000023718Member_Other0BNYMinus91282CET4SectorMember"
      decimals="INF"
      id="PctOfNav_39B800FA5989439C"
      unitRef="Pure">0.005</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000023718Member_A0BNYMinusBIN2JE6R5SectorMember"
      decimals="INF"
      id="PctOfNav_798815E61A47416D"
      unitRef="Pure">0.186</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000023718Member_A0BNYMinus3130B1ZM2SectorMember"
      decimals="INF"
      id="PctOfNav_721F97EA6B994A2A"
      unitRef="Pure">0.392</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000023718Member_A0BNYMinus912797UV7SectorMember"
      decimals="INF"
      id="PctOfNav_2CFF40597C094AC9"
      unitRef="Pure">0.417</oef:PctOfNav>
    <oef:ClassName
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="ClassName_EFCC19CDC40D46CF">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="From2026-01-01to2026-06-30_C000023718Member"
      id="TradingSymbol_056DCBECEBB6498F">IVMXX</dei:TradingSymbol>
</xbrl>
