<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="anab-20260921.xsd" xlink:type="simple"/>
    <context id="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001370053</identifier>
        </entity>
        <period>
            <startDate>2026-09-21</startDate>
            <endDate>2026-09-21</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_3644554b-efbf-45d4-a7b7-885e49f9300a">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_7d22dc04-962c-4469-855c-785c0cceed52">0001370053</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_800e5361-c757-45c6-915d-b86f6f1038b7">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_56d134e2-61aa-45b1-b16c-f3ba5be3eada">2026-09-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_6db28c81-209e-4cf6-a1ee-5400237e50eb">ANAPTYSBIO, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_41305967-8b81-4d23-a1ec-0be5d5d1a8f3">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_ce348a0c-2e93-48e1-a82f-a9a2bd4f5931">001-37985</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_9a7105ae-a874-4355-a290-a8c929137ee1">20-3828755</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_f26ff874-bfc9-40b5-b135-d285480f9556">10770 Wateridge Circle, Suite 210</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_4f421974-650d-48f4-acfa-8656c6fa03ba">San Diego</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_66c973dc-4842-4874-884a-be2597139f16">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_facc9252-0c60-45d1-8664-44168350dc4c">92121</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_7c50c1ac-7a82-46e0-9e67-3a4bb724387e">858</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_77366d35-e444-4000-9981-a228fcfafb8c"> 362-6295</dei:LocalPhoneNumber>
    <dei:EntityInformationFormerLegalOrRegisteredName
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_af5522f4-8d9d-4cda-8cdc-bfd21809779f">N/A</dei:EntityInformationFormerLegalOrRegisteredName>
    <dei:WrittenCommunications
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_957e2616-f799-4fdd-9999-91209e91e4b7">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_2296cfc4-c877-4ace-b88f-f6465aaffe90">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_0832d516-98c9-4cf3-9592-4d404bf6df37">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_bce4d39b-d9e2-4a11-b751-04f954c78793">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_ae6fb664-0cb2-42da-9fbf-28d4dd673bdd">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_a2564cf9-dcff-42ee-ab22-b05d2be9e198">ANAB</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_3552e035-2b8e-4648-8045-5572f4f5ac4d">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_4d775804-c15e-43f5-ad10-bbdbb6ea0e15"
      id="F_fa39d56a-af3c-4f75-98f1-fa5796ca6a68">false</dei:EntityEmergingGrowthCompany>
</xbrl>
