<?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_bd0c433e-a64e-451f-8d6b-58a00944ca0f">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001824920</identifier>
        </entity>
        <period>
            <startDate>2026-02-27</startDate>
            <endDate>2026-02-27</endDate>
        </period>
    </context>
    <context id="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9">
        <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-02-27</startDate>
            <endDate>2026-02-27</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_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_09678204-3532-49ae-9c1c-3553f27059ec">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_8dca9e20-b723-4567-a22a-504a1c27e9a2">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_884f5af5-936a-41e5-8548-49e1cb458c2e">0001824920</dei:EntityCentralIndexKey>
    <ffd:FnlPrspctsFlg
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_e0a9a2df-3a9e-4a52-b714-3688fb4f6a06">true</ffd:FnlPrspctsFlg>
    <ffd:FeeExhibitTp
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_dc127bd6-a78d-46b2-95db-f48aabfdd185">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_960e8dcb-c060-4c2b-9666-9e756b87de69">424B7</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_fa50b3bc-9811-4898-97fd-d2f9047f4991">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_66360720-e826-401e-8b1c-fd7d237fa630">IonQ, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      id="F_159fb96d-8dfb-4200-ae74-40368f94ba1d">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      id="F_27bdc49e-6274-4b21-9b10-80aec1fa3468">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      id="F_8fdb8a8d-f40e-40c9-8f83-d951cbfa2e02">Common Stock,par value$0.0001 pershare</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      id="F_f2de951d-218a-4556-b09e-3cc74ad1244c">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      decimals="0"
      id="F_110ca5ad-cf5a-4b4d-855f-305f2bd43fd6"
      unitRef="U_shares">4846501</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      decimals="2"
      id="F_820fd924-e18e-4516-a05d-939f0c6a63ed"
      unitRef="U_USD">30.92</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      decimals="2"
      id="F_9308c83f-fea1-4fe0-8708-6167537a0a17"
      unitRef="U_USD">149853810.92</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      decimals="7"
      id="F_96b1fec9-1fd7-496f-a703-48fccd4f70fa"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      decimals="2"
      id="F_e477abb1-a496-4414-b57a-020e57674b07"
      unitRef="U_USD">20694.81</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      decimals="2"
      id="F_45e9bc26-84e0-49f7-875a-3765c774c8a8"
      unitRef="U_USD">149853810.92</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      decimals="2"
      id="F_aee2a800-72dc-4198-ac69-471c7b839fe1"
      unitRef="U_USD">20694.81</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      decimals="2"
      id="F_63a9b704-339e-4b6d-94cf-b5ddd8898cac"
      unitRef="U_USD">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      decimals="2"
      id="F_2a09d618-b366-4382-aeb0-b86e69622627"
      unitRef="U_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      decimals="2"
      id="F_aac36fb0-f238-46a3-a6d3-52262442ba41"
      unitRef="U_USD">20694.81</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="C_df28c2d2-9ab2-4a1b-9b45-612549ef14d9"
      id="F_b55c19c6-70f9-41e2-9ed6-ff76afe81814">
     &lt;table style="border-spacing:0;table-layout:auto;width:100.0%;border-collapse:separate;"&gt;
      &lt;tr style="visibility:collapse;"&gt;
       &lt;td style="width:2%;box-sizing:content-box;"&gt;&lt;/td&gt;
       &lt;td style="width:98%;box-sizing:content-box;"&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr style="height:9pt;word-break:break-word;white-space:pre-wrap;text-align:left;"&gt;
       &lt;td style="padding-top:0in;padding-left:0in;vertical-align:top;padding-bottom:0in;padding-right:0in;"&gt;&lt;p style="font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="color:#000000;top:-4.221pt;white-space:pre-wrap;font-size:6.03pt;font-family:Arial;position:relative;font-kerning:none;min-width:fit-content;"&gt;1&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
       &lt;td style="padding-top:0in;padding-left:0in;vertical-align:top;padding-bottom:0in;padding-right:0in;"&gt;&lt;p style="font-size:10pt;margin-top:0;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;The filing fee, calculated in accordance with Rule 457(r) under the Securities Act of 1933, as amended (the "Securities Act"), has been transmitted to the Securities and Exchange Commission in connection with the securities offered by means of this prospectus supplement. This "Calculation of Filing Fee Table" shall be deemed to update the "Calculation of Registration Fee" table in the registrant'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 "Registration Statement").&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:9pt;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, 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.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:9pt;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;Proposed Maximum Offering Price per Unit and Maximum Aggregate Offering Price are estimated solely for the purpose of calculating the amount of the registration fee pursuant to Rule 457(c) under the Securities Act, based upon the average of the high and low prices of the registrant's common stock as reported on the New York Stock Exchange on February 23, 2026, which was $30.92.&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
      &lt;/tr&gt;
     &lt;/table&gt;&lt;p style="font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;</ffd:OfferingNote>
    <ffd:RegnFileNb
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_d9c96ca6-2e10-48be-a1da-be724818ecd7">333-285279</ffd:RegnFileNb>
    <ffd:NrrtvDsclsr
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      id="F_a9d46ff0-334a-4ce3-8cfd-899da46133d2">
     &lt;table style="border-spacing:0;table-layout:auto;width:100.0%;border-collapse:separate;"&gt;
      &lt;tr style="visibility:collapse;"&gt;
       &lt;td style="width:100%;box-sizing:content-box;"&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr style="height:12pt;word-break:break-word;white-space:pre-wrap;text-align:left;"&gt;
       &lt;td style="padding-top:0.01in;padding-left:0.01in;vertical-align:middle;padding-bottom:0.01in;padding-right:0.01in;"&gt;&lt;p style="font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:center;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;The maximum aggregate offering price of the securities to which the prospectus relates is $&lt;/span&gt;&lt;span style="font-size:12pt;font-family:Arial;color:#000000;white-space:pre-wrap;font-kerning:none;min-width:fit-content;"&gt;149,853,810.92&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt;. The prospectus is a final prospectus for the related offering.&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Arial;font-kerning:none;min-width:fit-content;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
      &lt;/tr&gt;
     &lt;/table&gt;</ffd:NrrtvDsclsr>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="C_bd0c433e-a64e-451f-8d6b-58a00944ca0f"
      decimals="-1"
      id="F_3257f557-39cf-48ef-a274-1c631f62a0e5"
      unitRef="U_USD">149853810920</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
