<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2024"
  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/2024/ffd-2024.xsd"
      xlink:type="simple"/>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001159508</identifier>
        </entity>
        <period>
            <startDate>2026-03-12</startDate>
            <endDate>2026-03-12</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c_report" id="ixv-16">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c_report" id="ixv-17">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c_report" id="ixv-18">0001159508</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb contextRef="c_report" id="ixv-19">333-278331</ffd:RegnFileNb>
    <ffd:FormTp contextRef="c_report" id="ixv-35">F-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="ixv-36">DEUTSCHE BANK AKTIENGESELLSCHAFT</dei:EntityRegistrantName>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="c_report"
      decimals="INF"
      id="ixv-37"
      unitRef="USD">1000000</ffd:NrrtvMaxAggtOfferingPric>
    <ffd:FnlPrspctsFlg contextRef="c_report" id="ixv-38">true</ffd:FnlPrspctsFlg>
</xbrl>
