<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="anab-20260420.xsd" xlink:type="simple"/>
    <context id="duration_2026-04-20_to_2026-04-20">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001370053</identifier>
        </entity>
        <period>
            <startDate>2026-04-20</startDate>
            <endDate>2026-04-20</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2026-04-20_to_2026-04-20"
      id="Hidden_dei_EntityRegistrantName">ANAPTYSBIO, INC</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-263">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-04-20_to_2026-04-20"
      id="Hidden_dei_EntityCentralIndexKey">0001370053</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-274">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-275">2026-04-20</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-276">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-277">001-37985</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-278">20-3828755</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-279">10770 Wateridge Circle</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-280">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-281">San Diego</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-282">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-283">92121</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-284">(858)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-285">362-6295</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-286">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-287">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-288">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-289">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-290">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-291">ANAB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-292">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-293">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2026-04-20_to_2026-04-20" id="ixv-294">In this Amendment No. 1 the Company amends the Current Report on Form 8-K filed by the Company with the Securities and Exchange Commission on April 20, 2026 (the &#x201c;Original Form 8-K&#x201d;) that reported the completion of the Spin-Off. The Original Form&#160;8-K did not include the unaudited pro forma financial information of the Company reflecting the performance of the Company&#x2019;s businesses after giving effect to the Spin-Off. This Amendment No.&#160;1 to the Original Form 8-K is being filed to include such pro forma financial information as required under Item 9.01(b) of Form&#160;8-K.</dei:AmendmentDescription>
</xbrl>