<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/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="sonm-20251231.xsd" xlink:type="simple"/>
    <context id="From2025-01-01to2025-12-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001178697</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="AsOf2025-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001178697</identifier>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-04-21">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001178697</identifier>
        </entity>
        <period>
            <instant>2026-04-21</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <unit id="USDPShares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:AmendmentFlag contextRef="From2025-01-01to2025-12-31" id="Fact000003">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="From2025-01-01to2025-12-31" id="Fact000004">FY</dei:DocumentFiscalPeriodFocus>
    <dei:EntityCentralIndexKey contextRef="From2025-01-01to2025-12-31" id="Fact000005">0001178697</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="From2025-01-01to2025-12-31" id="Fact000013">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport contextRef="From2025-01-01to2025-12-31" id="Fact000014">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="From2025-01-01to2025-12-31" id="Fact000015">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate contextRef="From2025-01-01to2025-12-31" id="Fact000016">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus contextRef="From2025-01-01to2025-12-31" id="Fact000017">2025</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="From2025-01-01to2025-12-31" id="Fact000018">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="From2025-01-01to2025-12-31" id="Fact000019">001-38907</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="From2025-01-01to2025-12-31" id="Fact000020">DNA X, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2025-01-01to2025-12-31" id="Fact000021">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="From2025-01-01to2025-12-31" id="Fact000022">94-3336783</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2025-01-01to2025-12-31" id="Fact000023">4445 Eastgate Mall</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="From2025-01-01to2025-12-31" id="Fact000024">Suite 200</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="From2025-01-01to2025-12-31" id="Fact000025">San Diego</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2025-01-01to2025-12-31" id="Fact000026">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2025-01-01to2025-12-31" id="Fact000027">92121</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2025-01-01to2025-12-31" id="Fact000028">(661)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2025-01-01to2025-12-31" id="Fact000029">618-7580</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="From2025-01-01to2025-12-31" id="Fact000030">Common     Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2025-01-01to2025-12-31" id="Fact000031">SONM</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2025-01-01to2025-12-31" id="Fact000032">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityWellKnownSeasonedIssuer contextRef="From2025-01-01to2025-12-31" id="Fact000033">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="From2025-01-01to2025-12-31" id="Fact000034">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="From2025-01-01to2025-12-31" id="Fact000035">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="From2025-01-01to2025-12-31" id="Fact000036">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="From2025-01-01to2025-12-31" id="Fact000037">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="From2025-01-01to2025-12-31" id="Fact000038">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="From2025-01-01to2025-12-31" id="Fact000039">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag contextRef="From2025-01-01to2025-12-31" id="Fact000040">false</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag contextRef="From2025-01-01to2025-12-31" id="Fact000041">false</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:EntityShellCompany contextRef="From2025-01-01to2025-12-31" id="Fact000042">false</dei:EntityShellCompany>
    <dei:EntityPublicFloat
      contextRef="AsOf2025-06-30"
      decimals="-5"
      id="Fact000043"
      unitRef="USD">12600000</dei:EntityPublicFloat>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="AsOf2026-04-21"
      decimals="INF"
      id="Fact000044"
      unitRef="Shares">1488268</dei:EntityCommonStockSharesOutstanding>
    <dei:EntityListingParValuePerShare
      contextRef="From2025-01-01to2025-12-31"
      decimals="INF"
      id="Fact000045"
      unitRef="USDPShares">0.001</dei:EntityListingParValuePerShare>
    <dei:DocumentsIncorporatedByReferenceTextBlock contextRef="From2025-01-01to2025-12-31" id="Fact000046">None.</dei:DocumentsIncorporatedByReferenceTextBlock>
    <dei:AmendmentDescription contextRef="From2025-01-01to2025-12-31" id="Fact000050">This
Amendment No. 1 on Form 10-K/A (this &#x201c;Amendment&#x201d;) amends DNA X, Inc.&#x2019;s Annual Report on Form 10-K for the fiscal year
ended December 31, 2025, originally filed with the U.S. Securities and Exchange Commission (the &#x201c;SEC&#x201d;) on April 15, 2026
(the &#x201c;Original Form 10-K&#x201d;). We are filing this Amendment pursuant to General Instruction G(3) of Form 10-K, as we currently
expect that our definitive proxy statement for the 2025 annual meeting of stockholders will be filed later than the 120th day after the
end of the last fiscal year. Accordingly, this Amendment is being filed solely to:&#160;

    &#160;
    &#x25cf;
    amend
    Part III, Items 10, 11, 12, 13, and 14 of the Original Form 10-K to include the information required by and not included in such
    Items;

    &#160;
    &#160;
    &#160;

    &#160;
    &#x25cf;
    delete
    the reference on the cover of the Original Form 10-K to the incorporation by reference of certain information from our proxy statement
    into Part III of the Original Form 10-K;

    &#160;
    &#160;
    &#160;

    &#160;
    &#x25cf;
    Amend
                                            Part IV, Item 15 of Part IV of the Original Form 10-K to include in the Exhibits Index certain
                                            exhibits required to be listed in, but inadvertently excluded from, such Item; and&#160;&#160;
    &#160;

    &#160;
    &#x25cf;
    file
    new certifications of our principal executive officer and principal financial officer as exhibits to this Amendment under Item 15
    of Part IV hereof pursuant to Rule 12b-15 under the Securities Exchange Act of 1934, as amended, and to Section 302 of the Sarbanes-Oxley
    Act of 2002.

&#160;

This
Amendment does not otherwise change or update any of the disclosures set forth in the Original Form 10-K.

&#160;

References
to the &#x201c;Company,&#x201d; &#x201c;DNA X,&#x201d; &#x201c;we,&#x201d; or &#x201c;our&#x201d; in this Amendment refer to DNA X, Inc. and,
as applicable, its wholly owned and consolidated subsidiaries.</dei:AmendmentDescription>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="From2025-01-01to2025-12-31" id="Fact000051">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
</xbrl>
