<?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="P03_02_2026To03_02_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001937653</identifier>
        </entity>
        <period>
            <startDate>2026-03-02</startDate>
            <endDate>2026-03-02</endDate>
        </period>
    </context>
    <context id="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001937653</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-02</startDate>
            <endDate>2026-03-02</endDate>
        </period>
    </context>
    <context id="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001937653</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-02</startDate>
            <endDate>2026-03-02</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_pure">
        <measure>pure</measure>
    </unit>
    <unit id="Unit_shares">
        <measure>shares</measure>
    </unit>
    <ffd:PrevslyPdFlg
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      id="ixv-242">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      id="ixv-243">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      id="hidden155735638">Common stock, par value $0.00001 per share, reserved for issuance under the Amended and Restated Stock Option and Equity Compensation Plan</ffd:OfferingSctyTitl>
    <ffd:FeeRate
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      decimals="INF"
      id="hidden155735628"
      unitRef="Unit_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      decimals="INF"
      id="hidden155735629"
      unitRef="Unit_pure">0.0001381</ffd:FeeRate>
    <dei:EntityCentralIndexKey contextRef="P03_02_2026To03_02_2026" id="ixv-247">0001937653</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="P03_02_2026To03_02_2026" id="ixv-248">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="P03_02_2026To03_02_2026" id="ixv-249">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp contextRef="P03_02_2026To03_02_2026" id="ixv-283">S-8</ffd:SubmissnTp>
    <ffd:FormTp contextRef="P03_02_2026To03_02_2026" id="ixv-284">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="P03_02_2026To03_02_2026" id="ixv-285">Zymeworks Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      id="ixv-286">Equity</ffd:OfferingSctyTp>
    <ffd:FeesOthrRuleFlg
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      id="ixv-287">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      decimals="0"
      id="ixv-288"
      unitRef="Unit_shares">2985536</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-289"
      unitRef="Unit_pure">23.24</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-290"
      unitRef="Unit_USD">69383856.64</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-291"
      unitRef="Unit_USD">9581.92</ffd:FeeAmt>
    <ffd:OfferingSctyTp
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      id="ixv-292">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      id="ixv-293">Common stock, par value $0.00001 per share, reserved for issuance under the Amended and Restated Employee Stock Purchase Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      id="ixv-294">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      decimals="0"
      id="ixv-295"
      unitRef="Unit_shares">419000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-296"
      unitRef="Unit_pure">19.76</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-297"
      unitRef="Unit_USD">8279440</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-298"
      unitRef="Unit_USD">1143.4</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="P03_02_2026To03_02_2026"
      decimals="2"
      id="ixv-299"
      unitRef="Unit_USD">77663296.64</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="P03_02_2026To03_02_2026"
      decimals="2"
      id="ixv-300"
      unitRef="Unit_USD">10725.32</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="P03_02_2026To03_02_2026"
      decimals="0"
      id="ixv-301"
      unitRef="Unit_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="P03_02_2026To03_02_2026"
      decimals="2"
      id="ixv-302"
      unitRef="Unit_USD">10725.32</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="P03_02_2026To03_02_2026_1TypedMemberffdOfferingAxis"
      id="ixv-207">&lt;div style="font-size:12pt;margin-top:0pt;margin-bottom:0pt"&gt;&#160;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(1)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Pursuant to Rule 416(a) of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this registration statement on Form &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;S-8&lt;/div&gt; shall also cover any additional shares of the registrant&#x2019;s common stock, par value $0.00001 per share, that become issuable with respect to the securities identified in the above table under the registrant&#x2019;s Amended and Restated Stock Option and Equity Compensation Plan (the &#x201c;Plan&#x201d;) and the Restated Employee Stock Purchase Plan (the &#x201c;ESPP&#x201d;) by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without the registrant&#x2019;s receipt of consideration which results in an increase in the number of outstanding shares of common stock. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(2)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Represents shares of common stock automatically reserved on January&#160;1, 2026 for issuance upon the exercise or settlement of awards that may be granted under the &lt;div style="display:inline;"&gt;Pl&lt;/div&gt;an, which increase is provided for in the Plan. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(4)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Estimated in accordance with Rules 457(c) and 457(h) of the Securities Act solely for the purpose of calculating the registration fee on the basis of $23.24 per share, which is the average of the high and low prices of the registrant&#x2019;s common stock on February&#160;24, 2026 as reported on the Nasdaq Global Select Market. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</ffd:OfferingNote>
    <ffd:OfferingNote
      contextRef="P03_02_2026To03_02_2026_2TypedMemberffdOfferingAxis"
      id="ixv-209">
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(1)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Pursuant to Rule 416(a) of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this registration statement on Form &lt;div style="white-space: nowrap; letter-spacing: 0px; top: 0px;display:inline;"&gt;S-8&lt;/div&gt; shall also cover any additional shares of the registrant&#x2019;s common stock, par value $0.00001 per share, that become issuable with respect to the securities identified in the above table under the registrant&#x2019;s Amended and Restated Stock Option and Equity Compensation Plan (the &#x201c;Plan&#x201d;) and the Restated Employee Stock Purchase Plan (the &#x201c;ESPP&#x201d;) by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without the registrant&#x2019;s receipt of consideration which results in an increase in the number of outstanding shares of common stock. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(3)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Represents shares of common stock automatically reserved on January&#160;1, 2026 for issuance under the ESPP, which increase is provided for in the ESPP. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(5)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: &amp;quot;Times New Roman&amp;quot;; text-align: left; line-height: normal;"&gt;Estimated in accordance with Rules 457(c) and 457(h) of the Securities Act solely for the purpose of calculating the registration fee on the basis of $23.24 per share, which is the average of the high and low prices of the registrant&#x2019;s common stock on February&#160;24, 2026 as reported on the Nasdaq Global Select Market, multiplied by 85%, which is the percentage of the price per share applicable to purchases under the ESPP. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</ffd:OfferingNote>
</xbrl>
