<?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:xbrldi="http://xbrl.org/2006/xbrldi"
  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="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001824920</identifier>
        </entity>
        <period>
            <startDate>2026-03-05</startDate>
            <endDate>2026-03-05</endDate>
        </period>
    </context>
    <context id="C_f48a4d99-1a42-4155-b53f-2f5d692401d1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001824920</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-05</startDate>
            <endDate>2026-03-05</endDate>
        </period>
    </context>
    <unit id="U_pure">
        <measure>pure</measure>
    </unit>
    <unit id="U_shares">
        <measure>shares</measure>
    </unit>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:CombinedProspectusTableNa
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_314d6fc6-67df-44d0-93c0-393f224b7920">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_e5caf7d4-2fd0-4873-9200-6ea5d03645b0">0001824920</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_b7d44c12-573d-4003-ac7a-c7fd1c53adfc">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_de357f1a-bd8d-499e-bb36-966129dd826a">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_fc8d9726-0d47-4483-9dcc-7d1b25be173d">424B7</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_eeeedaf8-9bb6-4e16-9fda-6b427203bc04">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_7711779d-6dca-47d9-90e0-0348e7128286">IonQ, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      id="F_b1bcc5b5-8031-4218-a192-ffc3f65b6513">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      id="F_d8a8e02c-05fd-4302-ac04-bf90c41423fb">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      id="F_283e05e7-322f-423c-a8d9-3757fa8c6de3">Common Stock,par value$0.0001 pershare</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      id="F_5f059ca5-9795-4821-80f3-8b90fb0e9283">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      decimals="0"
      id="F_e0fb0706-aca0-4cb3-a6f4-2fbb6e7874ed"
      unitRef="U_shares">280958</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      decimals="2"
      id="F_a329bfe3-366d-44eb-bd1c-5488687d2893"
      unitRef="U_USD">30.92</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      decimals="2"
      id="F_aa2000e0-42fe-4e1e-b72f-a188e6f7743d"
      unitRef="U_USD">8687221.36</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      decimals="7"
      id="F_2a4d5d38-998e-46ba-80fd-6638027401c0"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      decimals="2"
      id="F_963460ca-6095-4037-9a0b-f50ee72766e8"
      unitRef="U_USD">1199.71</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      decimals="2"
      id="F_9d04467b-09bf-40a2-aeb5-4761f9e6452a"
      unitRef="U_USD">8687221.36</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      decimals="2"
      id="F_97c489bc-c8af-4f91-a491-b798fc8af4d4"
      unitRef="U_USD">1199.71</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      decimals="2"
      id="F_9b47ea80-a38b-4e2b-9128-510015d0e549"
      unitRef="U_USD">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      decimals="2"
      id="F_d49e66b2-3b07-44de-9f0c-575e9d0a6d6e"
      unitRef="U_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      decimals="2"
      id="F_5b07e6b3-d4c6-42f8-ab31-9aac68be18b2"
      unitRef="U_USD">1199.71</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="C_f48a4d99-1a42-4155-b53f-2f5d692401d1"
      id="F_75727851-368e-4190-939e-541f849f10fd">&lt;p style="font-size:10pt;margin-top:6pt;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;This &#x201c;Calculation of Filing Fee Table&#x201d; shall be deemed to update the &#x201c;Calculation of Registration Fee&#x201d; table in the registrant&#x2019;s registration statement on Form S-3ASR (File No. &lt;/span&gt;&lt;span style="font-size:9pt;font-family:Arial;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-kerning:none;min-width:fit-content;"&gt;333-285279&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;) filed with the Securities and Exchange Commission on February 26, 2025 (the &#x201c;Registration Statement&#x201d;).&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="white-space:pre-wrap;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:6pt;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;Amount Registered represents shares of common stock offered by the selling stockholder in this prospectus supplement and includes an indeterminate number of additional shares of common stock that, pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), may be issued to prevent dilution from stock splits, stock dividends or similar transactions that could affect the shares to be offered by the selling stockholder. Amount Registered represents 280,958 additional shares of common stock that were omitted from the Calculation of Filing Fee Table in connection with the prospectus supplement dated February 27, 2026 (the &#x201c;Prior Prospectus Supplement&#x201d;).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:6pt;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="white-space:pre-wrap;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;The filing fee, calculated on the same basis as the Calculation of Filing Fee Table included in the Prior Prospectus Supplement and in accordance with Rule 457(r) under the Securities Act, has been transmitted to the Securities and Exchange Commission in connection with the securities offered by means of the Prior Prospectus Supplement.&lt;/span&gt;</ffd:OfferingNote>
    <ffd:RegnFileNb
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_e88fc9fe-9081-42b9-bd28-a284f151d214">333-285279</ffd:RegnFileNb>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      decimals="2"
      id="F_a7a1b483-4612-401b-95b7-6ead544f7e98"
      unitRef="U_USD">8687221.36</ffd:NrrtvMaxAggtOfferingPric>
    <ffd:FnlPrspctsFlg
      contextRef="C_c68ccd2b-1df8-46cd-b5ec-b2e44b8adf2c"
      id="F_a500c7cf-d24c-485e-bef0-e7140461e945">true</ffd:FnlPrspctsFlg>
</xbrl>
