<?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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c_offering_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_offering_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_offering_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_offering_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_offering_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_offering_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_offering_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001759186</identifier>
        </entity>
        <period>
            <startDate>2026-07-06</startDate>
            <endDate>2026-07-06</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c_report" id="fee_001">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c_report" id="fee_002">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c_report" id="fee_003">0001759186</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa contextRef="c_report" id="fee_004" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="c_report" id="fee_005">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="c_report" id="fee_006">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="c_report" id="fee_007">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="fee_008">Z Squared Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c_offering_1" id="fee_009">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_1" id="fee_010">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_1" id="fee_011">Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_1" id="fee_012">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_013"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_014"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_2" id="fee_015">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_2" id="fee_016">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_2" id="fee_017">Preferred Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_2" id="fee_018">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_019"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_020"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_3" id="fee_021">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_3" id="fee_022">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_3" id="fee_023">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_3" id="fee_024">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_025"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_026"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_4" id="fee_027">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_4" id="fee_028">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_4" id="fee_029">Warrants</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_4" id="fee_030">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_031"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_032"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_5" id="fee_033">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_5" id="fee_034">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_5" id="fee_035">Rights</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_5" id="fee_036">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="c_offering_5"
      decimals="INF"
      id="fee_037"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_5"
      decimals="INF"
      id="fee_038"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_6" id="fee_039">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_6" id="fee_040">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_6" id="fee_041">Units</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_6" id="fee_042">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="c_offering_6"
      decimals="INF"
      id="fee_043"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_6"
      decimals="INF"
      id="fee_044"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_7" id="fee_045">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_7" id="fee_046">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_7" id="fee_047">Common Stock, par value $0.0001 per share (sales agreement prospectus)</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_7" id="fee_048">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_7"
      decimals="INF"
      id="fee_049"
      unitRef="USD">300000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_7"
      decimals="INF"
      id="fee_050"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_7"
      decimals="INF"
      id="fee_051"
      unitRef="USD">41430.00</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_052"
      unitRef="USD">300000000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_053"
      unitRef="USD">41430.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_054"
      unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_055"
      unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_056"
      unitRef="USD">41430.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c_offering_1" id="fee_057">An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable antidilution provisions. Any securities registered hereunder may be sold separately or as units with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. The Registrant is deferring payment of the registration fee pursuant to Rule 456(b) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), and is excluding this information in reliance on Rule 456(b) and Rule 457(r) under the Securities Act, other than the registration fee due in connection with $300,000,000 of shares of Common Stock that may be issued and sold from time to time under the sales agreement prospectus included in this Registration Statement pursuant to that certain Sales Agreement, dated as of July 6, 2026, between the Registrant and Roth Capital Partners, LLC. Any subsequent registration fees will be paid on a pay-as-you-go basis.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_2" id="fee_058">See Offering Note 1.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_3" id="fee_059">See Offering Note 1. Debt securities may be senior or subordinated, convertible or non-convertible and secured or unsecured.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_4" id="fee_060">See Offering Note 1. Warrants may represent rights to purchase debt securities, Common Stock, Preferred Stock or other securities registered hereunder.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_5" id="fee_061">See Offering Note 1. Rights evidence rights to purchase any securities of the Registrant registered under this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_6" id="fee_062">See Offering Note 1. Any securities registered under this Registration Statement may be sold separately or as units with other securities registered under this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_7" id="fee_063">Represents shares of Common Stock issuable and sellable from time to time under the sales agreement prospectus included in this Registration Statement, having an aggregate offering price of up to $300,000,000, pursuant to the Sales Agreement with Roth Capital Partners, LLC. The registration fee has been calculated pursuant to Rule 457(o) under the Securities Act at the fee rate of $138.10 per $1,000,000 of the maximum aggregate offering price (0.00013810), and is being paid in connection with the filing of this Registration Statement. Pursuant to Rule 416 under the Securities Act, this Registration Statement also covers such additional number of shares of Common Stock as may become issuable to prevent dilution resulting from stock splits, stock dividends, recapitalizations or similar transactions.</ffd:OfferingNote>
</xbrl>
