<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>245</ContextCount>
  <ElementCount>423</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>92</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Operations and comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss3</Role>
      <ShortName>Consolidated Statements of Operations and comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Changes in Redeemable Noncontrolling Interests, Convertible Preferred Shares And Shareholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfChangesInRedeemableNoncontrollingInterestsConvertiblePreferredSharesAndShareholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Changes in Redeemable Noncontrolling Interests, Convertible Preferred Shares And Shareholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Description of Business and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DescriptionOfBusinessAndBasisOfPresentation</Role>
      <ShortName>Description of Business and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Balance Sheets Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetails</Role>
      <ShortName>Balance Sheets Details</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Marketable Debt Securities, Available-for-Sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureMarketableDebtSecuritiesAvailableforsale</Role>
      <ShortName>Marketable Debt Securities, Available-for-Sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Ordinary Shares and Convertible Preferred Shares</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureOrdinarySharesAndConvertiblePreferredShares</Role>
      <ShortName>Ordinary Shares and Convertible Preferred Shares</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Defined Contribution Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DefinedContributionPlan</Role>
      <ShortName>Defined Contribution Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Balance Sheets Details (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetailsTables</Role>
      <ShortName>Balance Sheets Details (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetails</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureIntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/IntangibleAssetsNet</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Marketable Debt Securities, Available-for-Sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureMarketableDebtSecuritiesAvailableforsaleTables</Role>
      <ShortName>Marketable Debt Securities, Available-for-Sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/DisclosureMarketableDebtSecuritiesAvailableforsale</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/FairValueMeasurements</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/Leases</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Revenues (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenuesTables</Role>
      <ShortName>Revenues (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenues</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/ShareBasedCompensation</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxes</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ambrx.com/20221231/taxonomy/role/RelatedPartyTransactions</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Description of Business and Basis of Presentation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail</Role>
      <ShortName>Description of Business and Basis of Presentation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Summary of Significant Accounting Policies - Schedule of  Cash, Cash Equivalents and Restricted Cash (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfCashCashEquivalentsAndRestrictedCashDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of  Cash, Cash Equivalents and Restricted Cash (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Summary of Significant Accounting Policies - Schedule of Depreciation of Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfDepreciationOfPropertyPlantAndEquipmentDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Depreciation of Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Balance Sheets Details - Schedule of Prepaid Expenses and Other Current Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetailsScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetail</Role>
      <ShortName>Balance Sheets Details - Schedule of Prepaid Expenses and Other Current Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Balance Sheets Details - Schedule of Property and Equipment, Net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetailsScheduleOfPropertyAndEquipmentNetDetail</Role>
      <ShortName>Balance Sheets Details - Schedule of Property and Equipment, Net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Balance Sheets Details - Schedule of Accrued Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetailsScheduleOfAccruedLiabilitiesDetail</Role>
      <ShortName>Balance Sheets Details - Schedule of Accrued Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Balance Sheets Details - Schedule of Accrued Liabilities (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetailsScheduleOfAccruedLiabilitiesParentheticalDetail</Role>
      <ShortName>Balance Sheets Details - Schedule of Accrued Liabilities (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Balance Sheets Details - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/BalanceSheetsDetailsAdditionalInformationDetail</Role>
      <ShortName>Balance Sheets Details - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Intangible Assets, Net - Schedule of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureIntangibleAssetsNetScheduleOfIntangibleAssetsDetail</Role>
      <ShortName>Intangible Assets, Net - Schedule of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Intangible Assets, Net - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureIntangibleAssetsNetAdditionalInformationDetail</Role>
      <ShortName>Intangible Assets, Net - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Intangible Assets, Net - Summary of Future Amortization Expenses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IntangibleAssetsNetSummaryOfFutureAmortizationExpensesDetail</Role>
      <ShortName>Intangible Assets, Net - Summary of Future Amortization Expenses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Marketable Debt Securities, Available-for-Sale - Schedule of Available-for-Sale Debt Securities Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureMarketableDebtSecuritiesAvailableforsaleScheduleOfAvailableforsaleDebtSecuritiesReconciliationDetails</Role>
      <ShortName>Marketable Debt Securities, Available-for-Sale - Schedule of Available-for-Sale Debt Securities Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Marketable Debt Securities, Available-for-Sale - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureMarketableDebtSecuritiesAvailableforsaleAdditionalInformationDetails</Role>
      <ShortName>Marketable Debt Securities, Available-for-Sale - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Marketable Debt Securities, Available-for-Sale - Schedule Of Accumulated Unrealized Losses On Debt Securities Classified As Available-For Sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureMarketableDebtSecuritiesAvailableforsaleScheduleOfAccumulatedUnrealizedLossesOnDebtSecuritiesClassifiedAsAvailableforSaleDetails</Role>
      <ShortName>Marketable Debt Securities, Available-for-Sale - Schedule Of Accumulated Unrealized Losses On Debt Securities Classified As Available-For Sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Fair Value Measurements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/FairValueMeasurementsAdditionalInformationDetail</Role>
      <ShortName>Fair Value Measurements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Fair Value Measurements - Schedule Of Fair Value Assets And Liabilities Measured On Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisDetail</Role>
      <ShortName>Fair Value Measurements - Schedule Of Fair Value Assets And Liabilities Measured On Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/CommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Leases - Summary of Components of Operating Lease Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail</Role>
      <ShortName>Leases - Summary of Components of Operating Lease Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Leases - Summary of Supplemental Balance sheets Information Related to Operating Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/LeasesSummaryOfSupplementalBalanceSheetsInformationRelatedToOperatingLeasesDetail</Role>
      <ShortName>Leases - Summary of Supplemental Balance sheets Information Related to Operating Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Leases - Summary of Supplemental cash flow information related to leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/LeasesSummaryOfSupplementalCashFlowInformationRelatedToLeasesDetail</Role>
      <ShortName>Leases - Summary of Supplemental cash flow information related to leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Leases - Summary of Future Lease Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureLeasesSummaryOfFutureLeaseLiabilitiesDetail</Role>
      <ShortName>Leases - Summary of Future Lease Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Leases - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/LeasesAdditionalInformationDetail</Role>
      <ShortName>Leases - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Ordinary Shares and Convertible Preferred Shares - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureOrdinarySharesAndConvertiblePreferredSharesAdditionalInformationDetail</Role>
      <ShortName>Ordinary Shares and Convertible Preferred Shares - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Revenues - Schedule of Revenue Recognized (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenuesScheduleOfRevenueRecognizedDetail</Role>
      <ShortName>Revenues - Schedule of Revenue Recognized (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Revenues - Schedule of Revenue Recognized (Detail) (Parenthtical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenuesScheduleOfRevenueRecognizedDetailParenthtical</Role>
      <ShortName>Revenues - Schedule of Revenue Recognized (Detail) (Parenthtical)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Revenues - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenuesAdditionalInformationDetail</Role>
      <ShortName>Revenues - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Revenues - Schedule of the Contract Balances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenuesScheduleOfTheContractBalancesDetail</Role>
      <ShortName>Revenues - Schedule of the Contract Balances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Revenues - Schedule of Summarizes Unrecognized Contract (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureRevenuesScheduleOfSummarizesUnrecognizedContractDetail</Role>
      <ShortName>Revenues - Schedule of Summarizes Unrecognized Contract (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Share-Based Compensation - Summary of Share-based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DisclosureSharebasedCompensationSummaryOfSharebasedCompensationExpenseDetail</Role>
      <ShortName>Share-Based Compensation - Summary of Share-based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Share-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Share-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Share-Based Compensation - Summary of Options Granted by the Company's Board of Directors (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfOptionsGrantedByTheCompanySBoardOfDirectorsDetail</Role>
      <ShortName>Share-Based Compensation - Summary of Options Granted by the Company's Board of Directors (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Share-Based Compensation - Summary of Share Based Payment Award Stock Options Valuation Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfShareBasedPaymentAwardStockOptionsValuationAssumptionsDetail</Role>
      <ShortName>Share-Based Compensation - Summary of Share Based Payment Award Stock Options Valuation Assumptions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Defined Contribution Plan - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/DefinedContributionPlanAdditionalInformationDetail</Role>
      <ShortName>Defined Contribution Plan - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Income Taxes - Schedule Of Loss Before Income Tax (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesScheduleOfLossBeforeIncomeTaxDetail</Role>
      <ShortName>Income Taxes - Schedule Of Loss Before Income Tax (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Income Taxes - Schedule of Components of Income Tax Expense (Benefit) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail</Role>
      <ShortName>Income Taxes - Schedule of Components of Income Tax Expense (Benefit) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetail</Role>
      <ShortName>Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetail</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Income Taxes - Schedule of Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetail</Role>
      <ShortName>Income Taxes - Schedule of Unrecognized Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="amam-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Related Party Transactions - Summary of Activities with Affiliates of the Non Controlling Shareholders (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ambrx.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfActivitiesWithAffiliatesOfTheNonControllingShareholdersDetail</Role>
      <ShortName>Related Party Transactions - Summary of Activities with Affiliates of the Non Controlling Shareholders (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept AccountsPayableRelatedPartiesCurrentAndNoncurrent in us-gaap/2022 used in 2 facts was deprecated in us-gaap/2023 as of 2023 and should not be used. amam-20221231.htm 8525, 8529</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 8 fact(s) appearing in ix:hidden were eligible for transformation: dei:CurrentFiscalYearEndDate, us-gaap:FiniteLivedIntangibleAssetUsefulLife, us-gaap:ImpairmentOfIntangibleAssetsExcludingGoodwill, us-gaap:LesseeOperatingLeaseRemainingLeaseTerm, us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1, us-gaap:UnrecognizedTaxBenefits -  amam-20221231.htm 8</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="amam-20221231.htm">amam-20221231.htm</File>
    <File>amam-20221231.xsd</File>
    <File>amam-20221231_cal.xml</File>
    <File>amam-20221231_def.xml</File>
    <File>amam-20221231_lab.xml</File>
    <File>amam-20221231_pre.xml</File>
    <File>amam-ex10_15.htm</File>
    <File>amam-ex10_17.htm</File>
    <File>amam-ex10_18.htm</File>
    <File>amam-ex10_4.htm</File>
    <File>amam-ex21_1.htm</File>
    <File>amam-ex23_1.htm</File>
    <File>amam-ex31_1.htm</File>
    <File>amam-ex31_2.htm</File>
    <File>amam-ex32_1.htm</File>
    <File>amam-ex32_2.htm</File>
    <File>amam-ex4_3.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img26023698_0.jpg</File>
    <File>img26023698_1.jpg</File>
    <File>img26023698_10.jpg</File>
    <File>img26023698_11.jpg</File>
    <File>img26023698_12.jpg</File>
    <File>img26023698_13.jpg</File>
    <File>img26023698_14.jpg</File>
    <File>img26023698_15.jpg</File>
    <File>img26023698_16.jpg</File>
    <File>img26023698_17.jpg</File>
    <File>img26023698_18.jpg</File>
    <File>img26023698_19.jpg</File>
    <File>img26023698_2.jpg</File>
    <File>img26023698_20.jpg</File>
    <File>img26023698_21.jpg</File>
    <File>img26023698_22.jpg</File>
    <File>img26023698_23.jpg</File>
    <File>img26023698_24.jpg</File>
    <File>img26023698_25.jpg</File>
    <File>img26023698_26.jpg</File>
    <File>img26023698_27.jpg</File>
    <File>img26023698_28.jpg</File>
    <File>img26023698_3.jpg</File>
    <File>img26023698_4.jpg</File>
    <File>img26023698_5.jpg</File>
    <File>img26023698_6.jpg</File>
    <File>img26023698_7.jpg</File>
    <File>img26023698_8.jpg</File>
    <File>img26023698_9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="776">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="44">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
