<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000947263</identifier>
        </entity>
        <period>
            <startDate>2025-10-17</startDate>
            <endDate>2025-10-17</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp contextRef="c0" id="ixv-32">F-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-33">TORONTO DOMINION BANK</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr contextRef="c0" id="ixv-26">&lt;div style="text-align: center; font-family: Arial; font-size: 12pt;"&gt;The maximum aggregate offering price of the securities to which the prospectus relates is &lt;span style="text-decoration-thickness: initial; float: none; display: inline !important;"&gt;$1,070,000&lt;/span&gt;. The prospectus is a final prospectus for the related offering.&lt;/div&gt;</ffd:NrrtvDsclsr>
    <ffd:NrrtvMaxAggtOfferingPric contextRef="c0" decimals="0" id="ixv-34" unitRef="usd">1070000</ffd:NrrtvMaxAggtOfferingPric>
    <ffd:FnlPrspctsFlg contextRef="c0" id="ixv-35">true</ffd:FnlPrspctsFlg>
    <ffd:CombinedProspectusTableNa contextRef="c0" id="ixv-38">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-39">0000947263</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-40">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa contextRef="c0" id="ixv-41">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa contextRef="c0" id="ixv-42">N/A</ffd:OffsetTableNa>
    <ffd:RegnFileNb contextRef="c0" id="ixv-43">333-283969</ffd:RegnFileNb>
    <ffd:SubmissnTp contextRef="c0" id="ixv-44">424B2</ffd:SubmissnTp>
</xbrl>
