<?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_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001782223</identifier>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</endDate>
        </period>
    </context>
    <context id="C_73fa336b-7fbd-43ab-84ed-6c5079a322df">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001782223</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</endDate>
        </period>
    </context>
    <context id="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001782223</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</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:PrevslyPdFlg
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      id="F_200d05f5-ca64-495f-8af2-97ef921433fd">false</ffd:PrevslyPdFlg>
    <ffd:OffsetTableNa
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_9c372b12-773f-4a89-af0c-e787a1c6bf63">N/A</ffd:OffsetTableNa>
    <ffd:PrevslyPdFlg
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      id="F_d9dc603a-49c3-4663-a74c-3694bdc2c2d4">false</ffd:PrevslyPdFlg>
    <dei:EntityCentralIndexKey
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_1b4def92-3f12-48d3-9cb8-ef6d9379a380">0001782223</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_447b9e20-7bfa-48f7-96b0-7119bfcb3a82">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_48c1420d-bbec-4ba3-a492-d1a2e8aecdbd">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_ab851278-360d-4141-8c6b-a4d86890f126">S-8</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_018a9d65-58fb-430a-b2d4-a97781a8b9ed">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      id="F_fdb5f86f-7a85-4519-9520-a95bf8b22767">Pyxis Oncology, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      id="F_9f10cfae-979e-4845-aa08-b4d9b6a45d2c">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      id="F_eff597d7-289b-4ced-a5dd-82f731321687">Common Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      id="F_8cc26a7d-69af-4425-8e4b-aa642b4af97a">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      decimals="0"
      id="F_f21b47b9-7d9f-407a-88fc-be8c0785d0fc"
      unitRef="U_shares">3134511</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      decimals="2"
      id="F_eba84b49-081d-44e9-8c07-93b7cd9bc7d1"
      unitRef="U_USD">1.53</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      decimals="2"
      id="F_74d4f9a2-7fc5-46f1-9719-5b2c47c15ded"
      unitRef="U_USD">4795801.83</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      decimals="7"
      id="F_097d3023-cd5e-4a15-8c46-cc8528a60849"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      decimals="2"
      id="F_803f065c-b667-4bc8-a0da-3f930a18e0ad"
      unitRef="U_USD">662.3</ffd:FeeAmt>
    <ffd:OfferingSctyTp
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      id="F_3c3f74bd-ada0-4952-b380-beb66878e207">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      id="F_4ca4cc91-da65-4363-aee3-139be1e61ee5">Common Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      id="F_b7802fc1-9d30-4b05-8589-f789c227555b">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      decimals="0"
      id="F_6350ba04-bbd1-421c-a0e8-2366f20829ad"
      unitRef="U_shares">540703</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      decimals="2"
      id="F_9c90d371-c03a-47fe-bab9-0f594e392b9c"
      unitRef="U_USD">1.53</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      decimals="2"
      id="F_ac74b565-7591-4c7e-ad32-f2a2261f8c58"
      unitRef="U_USD">827275.59</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      decimals="7"
      id="F_76942239-4213-464a-a02d-29541f0b265d"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      decimals="2"
      id="F_6aca7716-6564-4a0c-9968-6531e5a2e207"
      unitRef="U_USD">114.25</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      decimals="2"
      id="F_d4178e4a-1025-4e58-9765-5a6dcc25b5d1"
      unitRef="U_USD">5623077.42</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      decimals="2"
      id="F_ac246e45-cfde-4a33-abc3-171d232fed62"
      unitRef="U_USD">776.55</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      decimals="0"
      id="F_97b5b36b-7d2f-411d-bc37-7bfaf76abab8"
      unitRef="U_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="C_5c1cc5d2-d6b5-4ab7-962f-69f65e08d642"
      decimals="2"
      id="F_7e89bcf4-6646-4a7f-85b1-612afc274984"
      unitRef="U_USD">776.55</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="C_73fa336b-7fbd-43ab-84ed-6c5079a322df"
      id="F_760cec17-ca16-4931-b4e6-575791b3842d">&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:9pt;font-kerning:none;min-width:fit-content;"&gt;(a)&lt;/span&gt;&lt;/p&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-kerning:none;min-width:fit-content;"&gt;The number of shares listed in row 1 represents shares of Common Stock that were automatically added to the shares authorized for issuance under the Pyxis Oncology, Inc. 2021 Equity and Incentive Plan, as amended (the &#x201c;2021 Plan&#x201d;) on January 1, 2026 pursuant to an &#x201c;evergreen&#x201d; provision contained in the 2021 Plan. Pursuant to such provision, on the first day of each fiscal year, beginning with the fiscal year ending December 31, 2022, and continuing until (and including) the fiscal year ending December 31, 2031, the number of shares authorized for issuance under the 2021 Plan is automatically increased by a number equal to: (a) 5% of the total number of shares of Common Stock issued and outstanding on the last day of the preceding fiscal year; or (b) such lesser number of shares of Common Stock as is determined by the Registrant&#x2019;s Board of Directors for the applicable year. Pursuant to Rule 416 of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement also covers any additional shares of Registrant&#x2019;s Common Stock that become issuable under the plan set forth herein by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected that results in an increase to the number of outstanding shares of Registrant&#x2019;s Common Stock, as applicable.&lt;/span&gt;&lt;/p&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:9pt;font-kerning:none;min-width:fit-content;"&gt;(b)&lt;/span&gt;&lt;/p&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-kerning:none;min-width:fit-content;"&gt;The offering price per unit and in the aggregate are estimated in accordance with Rule 457(h) under the Securities Act solely for the purpose of calculating the registration fee on the basis of $1.53 per share, the average of the high and low prices of the Registrant&#x2019;s Common Stock on March 20, 2026 as reported on the Nasdaq Global Select Market.&lt;/span&gt;&lt;/p&gt;</ffd:OfferingNote>
    <ffd:OfferingNote
      contextRef="C_7bc9d91b-fc84-4ec1-a8d3-17bffb5aac51"
      id="F_376fcc6a-4bb6-45df-a704-c4fde020f620">&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:9pt;font-kerning:none;min-width:fit-content;"&gt;(a)&lt;/span&gt;&lt;/p&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-kerning:none;min-width:fit-content;"&gt;The number of shares listed in row 2 represents shares of Common Stock that were automatically added to the shares authorized for issuance under the Apexigen, Inc. 2022 Equity Incentive Plan (the &#x201c;2022 Plan&#x201d;) pursuant to an &#x201c;evergreen&#x201d; provision contained in the 2022 Plan. Pursuant to such provision, the number of shares authorized for issuance under the 2022 Plan will automatically increase on January 1 of each calendar year, starting on January 1, 2023 through January 1, 2032, in an amount equal to the lesser of (i) 0.8625% of the total number of shares of Common Stock outstanding on the last day of the calendar month before the date of each automatic increase, (ii) 554,890 shares, or (iii) such number of shares determined by the Registrant&#x2019;s Board of Directors for the applicable year. Pursuant to Rule 416 of the Securities Act, this Registration Statement also covers any additional shares of Registrant&#x2019;s Common Stock that become issuable under the plan set forth herein by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected that results in an increase to the number of outstanding shares of Registrant&#x2019;s Common Stock, as applicable.&lt;/span&gt;&lt;/p&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:9pt;font-kerning:none;min-width:fit-content;"&gt;(b)&lt;/span&gt;&lt;/p&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-kerning:none;min-width:fit-content;"&gt;The offering price per unit and in the aggregate are estimated in accordance with Rule 457(h) under the Securities Act solely for the purpose of calculating the registration fee on the basis of $1.53 per share, the average of the high and low prices of the Registrant&#x2019;s Common Stock on March 20, 2026 as reported on the Nasdaq Global Select Market.&lt;/span&gt;&lt;/p&gt;</ffd:OfferingNote>
</xbrl>
