<?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="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001824920</identifier>
        </entity>
        <period>
            <startDate>2025-06-06</startDate>
            <endDate>2025-06-06</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <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>2025-06-06</startDate>
            <endDate>2025-06-06</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-207">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-208">424B7</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-209">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb contextRef="rc" id="ixv-210">333-285279</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-211">0001824920</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-212">IonQ, Inc.</dei:EntityRegistrantName>
    <ffd:FnlPrspctsFlg contextRef="rc" id="ixv-213">false</ffd:FnlPrspctsFlg>
    <ffd:FormTp contextRef="rc" id="ixv-238">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-239">IonQ, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-240">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-241">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-242">Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg contextRef="offrl_1" id="ixv-243">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-244"
      unitRef="Shares">903195</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-245"
      unitRef="USD">37.59</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-246"
      unitRef="USD">33951100.05</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-247"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-248"
      unitRef="USD">5197.91</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="INF" id="ixv-249" unitRef="USD">33951100.05</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="INF" id="ixv-250" unitRef="USD">5197.91</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="INF" id="ixv-251" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="INF" id="ixv-252" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="INF" id="ixv-253" unitRef="USD">5197.91</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-254">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. 333-285279) filed with the Securities and Exchange Commission on February 26, 2025 (the "Registration Statement"). Amount Registered represents shares of common stock offered by the selling stockholders 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 stockholders. 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 June 5, 2025, which was $37.59.</ffd:OfferingNote>
</xbrl>
