<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>396</ContextCount>
  <ElementCount>509</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>153</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>14</UnitCount>
  <MyReports>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedStatementsOfConvertiblePreferredStock</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995200500 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995200600 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureDescriptionOfBusiness</Role>
      <ShortName>Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Condensed Consolidated Financial Statements Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Royalty and Commercial Payment Purchase Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreements</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - License, Collaboration, and Other Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLicenseCollaborationAndOtherArrangements</Role>
      <ShortName>License, Collaboration, and Other Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Lease Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreements</Role>
      <ShortName>Lease Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Common Stock Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommonStockWarrants</Role>
      <ShortName>Common Stock Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Stock-Based Compensation and Other Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlans</Role>
      <ShortName>Stock-Based Compensation and Other Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - Capital Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCapitalStock</Role>
      <ShortName>Capital Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211401 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995211501 - Disclosure - Segment and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSegmentAndGeographicInformation</Role>
      <ShortName>Segment and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995211601 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>99920202 - Disclosure - Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Condensed Consolidated Financial Statements Details (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsTables</Role>
      <ShortName>Condensed Consolidated Financial Statements Details (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetails</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Royalty and Commercial Payment Purchase Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsTables</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreements</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureAcquisitions</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Lease Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsTables</Role>
      <ShortName>Lease Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureLeaseAgreements</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99930903 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureLongTermDebt</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Common Stock Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommonStockWarrantsTables</Role>
      <ShortName>Common Stock Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureCommonStockWarrants</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99931103 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99931203 - Disclosure - Stock-Based Compensation and Other Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansTables</Role>
      <ShortName>Stock-Based Compensation and Other Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlans</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99931303 - Disclosure - Capital Stock (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCapitalStockTables</Role>
      <ShortName>Capital Stock (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureCapitalStock</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99931503 - Disclosure - Segment and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSegmentAndGeographicInformationTables</Role>
      <ShortName>Segment and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureSegmentAndGeographicInformation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureDescriptionOfBusinessDetails</Role>
      <ShortName>Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureDescriptionOfBusiness</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Basis of Presentation and Significant Accounting Policies - Cash, Cash Equivalents and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesCashCashEquivalentsAndRestrictedCashDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Cash, Cash Equivalents and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Basis of Presentation and Significant Accounting Policies - Concentration of Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesConcentrationOfRiskDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Concentration of Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940203 - Disclosure - Basis of Presentation and Significant Accounting Policies - Purchase of Rights to Future Milestones, Royalties, and Commercial Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesPurchaseOfRightsToFutureMilestonesRoyaltiesAndCommercialPaymentsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Purchase of Rights to Future Milestones, Royalties, and Commercial Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940204 - Disclosure - Basis of Presentation and Significant Accounting Policies - Income Taxes and Share Repurchases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesIncomeTaxesAndShareRepurchasesDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Income Taxes and Share Repurchases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940205 - Disclosure - Basis of Presentation and Significant Accounting Policies - Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureBasisOfPresentationAndSignificantAccountingPoliciesAccountingPronouncementsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Condensed Consolidated Financial Statements Details - Equity Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsEquitySecuritiesDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Equity Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940302 - Disclosure - Condensed Consolidated Financial Statements Details - Intangible Assets, Net - General Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsIntangibleAssetsNetGeneralInformationDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Intangible Assets, Net - General Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940303 - Disclosure - Condensed Consolidated Financial Statements Details - Intangible Assets, Net - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsIntangibleAssetsNetFutureAmortizationExpenseDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Intangible Assets, Net - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940304 - Disclosure - Condensed Consolidated Financial Statements Details - Net Income (Loss) Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsNetIncomeLossPerShareDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Net Income (Loss) Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940305 - Disclosure - Condensed Consolidated Financial Statements Details - Outstanding Securities Considered Anti-Dilutive (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsOutstandingSecuritiesConsideredAntiDilutiveDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Outstanding Securities Considered Anti-Dilutive (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940306 - Disclosure - Condensed Consolidated Financial Statements Details - Accrued and Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsAccruedAndOtherLiabilitiesDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Accrued and Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940307 - Disclosure - Condensed Consolidated Financial Statements Details - Other Income (Expense), Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCondensedConsolidatedFinancialStatementsDetailsOtherIncomeExpenseNetDetails</Role>
      <ShortName>Condensed Consolidated Financial Statements Details - Other Income (Expense), Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Summary of Royalty Receivable Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsSummaryOfRoyaltyReceivableActivitiesDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Summary of Royalty Receivable Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99940402 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Fully Recovered - Viracta (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsFullyRecoveredViractaDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Fully Recovered - Viracta (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99940403 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Under EIR Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsUnderEirMethodDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Under EIR Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99940404 - Disclosure - Royalty and Commercial Payment Purchase Agreements - EIR Method - Affitech (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsEirMethodAffitechDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - EIR Method - Affitech (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99940405 - Disclosure - Royalty and Commercial Payment Purchase Agreements - EIR Method - Aptevo (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsEirMethodAptevoDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - EIR Method - Aptevo (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99940406 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Under Cost Recovery Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsUnderCostRecoveryMethodDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Under Cost Recovery Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>99940407 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - LadRx (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsCostRecoveryMethodLadrxDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - LadRx (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>99940408 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Castle Creek (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsCostRecoveryMethodCastleCreekDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Castle Creek (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>99940409 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Kuros (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsCostRecoveryMethodKurosDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Kuros (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>99940410 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Palobiofarma (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsCostRecoveryMethodPalobiofarmaDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Palobiofarma (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>99940411 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Twist Bioscience (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsCostRecoveryMethodTwistBioscienceDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Twist Bioscience (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>99940412 - Disclosure - Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Dare (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureRoyaltyAndCommercialPaymentPurchaseAgreementsCostRecoveryMethodDareDetails</Role>
      <ShortName>Royalty and Commercial Payment Purchase Agreements - Cost Recovery Method - Dare (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - License, Collaboration, and Other Arrangements - Rezolute License Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLicenseCollaborationAndOtherArrangementsRezoluteLicenseAgreementDetails</Role>
      <ShortName>License, Collaboration, and Other Arrangements - Rezolute License Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - License, Collaboration, and Other Arrangements - Takeda Collaboration Agreement and Takeda Revenue Share Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLicenseCollaborationAndOtherArrangementsTakedaCollaborationAgreementAndTakedaRevenueShareAgreementDetails</Role>
      <ShortName>License, Collaboration, and Other Arrangements - Takeda Collaboration Agreement and Takeda Revenue Share Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>99940503 - Disclosure - License, Collaboration, and Other Arrangements - BioInvent License Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLicenseCollaborationAndOtherArrangementsBioinventLicenseAgreementDetails</Role>
      <ShortName>License, Collaboration, and Other Arrangements - BioInvent License Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>99940504 - Disclosure - License, Collaboration, and Other Arrangements - Repare Acquisition and XenoTherapeutics Arranger Letter and Sale of Future Revenue Streams (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLicenseCollaborationAndOtherArrangementsRepareAcquisitionAndXenotherapeuticsArrangerLetterAndSaleOfFutureRevenueStreamsDetails</Role>
      <ShortName>License, Collaboration, and Other Arrangements - Repare Acquisition and XenoTherapeutics Arranger Letter and Sale of Future Revenue Streams (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Acquisitions - Generation Bio Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsGenerationBioAcquisitionDetails</Role>
      <ShortName>Acquisitions - Generation Bio Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>99940602 - Disclosure - Acquisitions - Purchase Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsPurchaseConsiderationDetails</Role>
      <ShortName>Acquisitions - Purchase Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>99940603 - Disclosure - Acquisitions - Net Assets Acquired (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsNetAssetsAcquiredDetails</Role>
      <ShortName>Acquisitions - Net Assets Acquired (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>99940604 - Disclosure - Acquisitions - Reconciliation of Net Assets Acquired to Total Purchase Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsReconciliationOfNetAssetsAcquiredToTotalPurchaseConsiderationDetails</Role>
      <ShortName>Acquisitions - Reconciliation of Net Assets Acquired to Total Purchase Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>99940605 - Disclosure - Acquisitions - LAVA Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsLavaAcquisitionDetails</Role>
      <ShortName>Acquisitions - LAVA Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>99940606 - Disclosure - Acquisitions - HilleVax Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsHillevaxAcquisitionDetails</Role>
      <ShortName>Acquisitions - HilleVax Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>99940607 - Disclosure - Acquisitions - Turnstone Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsTurnstoneAcquisitionDetails</Role>
      <ShortName>Acquisitions - Turnstone Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>99940608 - Disclosure - Acquisitions - Mural Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsMuralAcquisitionDetails</Role>
      <ShortName>Acquisitions - Mural Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>99940609 - Disclosure - Acquisitions - Kinnate Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsKinnateAcquisitionDetails</Role>
      <ShortName>Acquisitions - Kinnate Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>99940610 - Disclosure - Acquisitions - Pulmokine Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureAcquisitionsPulmokineAcquisitionDetails</Role>
      <ShortName>Acquisitions - Pulmokine Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Fair Value Measurements - Financial Assets and Liabilities Carried at FV on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureFairValueMeasurementsFinancialAssetsAndLiabilitiesCarriedAtFvOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Financial Assets and Liabilities Carried at FV on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>99940702 - Disclosure - Fair Value Measurements - Milestone Asset, Milestone Contingent Consideration and PRV Interest and Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureFairValueMeasurementsMilestoneAssetMilestoneContingentConsiderationAndPrvInterestAndWarrantsDetails</Role>
      <ShortName>Fair Value Measurements - Milestone Asset, Milestone Contingent Consideration and PRV Interest and Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Lease Agreements - Leased Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsLeasedFacilitiesDetails</Role>
      <ShortName>Lease Agreements - Leased Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>99940802 - Disclosure - Lease Agreements - Maturity of Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsMaturityOfOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Lease Agreements - Maturity of Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>99940803 - Disclosure - Lease Agreements - Gross Difference (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsGrossDifferenceDetails</Role>
      <ShortName>Lease Agreements - Gross Difference (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>99940804 - Disclosure - Lease Agreements - Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Lease Agreements - Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>99940805 - Disclosure - Lease Agreements - Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsLeaseCostsDetails</Role>
      <ShortName>Lease Agreements - Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>99940806 - Disclosure - Lease Agreements - Statements of Cash Flows Supplemental Disclosure (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsStatementsOfCashFlowsSupplementalDisclosureDetails</Role>
      <ShortName>Lease Agreements - Statements of Cash Flows Supplemental Disclosure (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>99940807 - Disclosure - Lease Agreements - Present Value of Operating Lease Payments, Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLeaseAgreementsPresentValueOfOperatingLeasePaymentsAssumptionsDetails</Role>
      <ShortName>Lease Agreements - Present Value of Operating Lease Payments, Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Long-Term Debt - Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLongTermDebtAgreementDetails</Role>
      <ShortName>Long-Term Debt - Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>99940902 - Disclosure - Long-Term Debt - Balance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLongTermDebtBalanceDetails</Role>
      <ShortName>Long-Term Debt - Balance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>99940903 - Disclosure - Long-Term Debt - Aggregate Projected Future Principal and Discounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLongTermDebtAggregateProjectedFuturePrincipalAndDiscountsDetails</Role>
      <ShortName>Long-Term Debt - Aggregate Projected Future Principal and Discounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>99940904 - Disclosure - Long-Term Debt - Interest Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureLongTermDebtInterestExpenseDetails</Role>
      <ShortName>Long-Term Debt - Interest Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Common Stock Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommonStockWarrantsDetails</Role>
      <ShortName>Common Stock Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureCommonStockWarrantsTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Commitments and Contingencies - Collaborative Agreements, Royalties and Milestone Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommitmentsAndContingenciesCollaborativeAgreementsRoyaltiesAndMilestonePaymentsDetails</Role>
      <ShortName>Commitments and Contingencies - Collaborative Agreements, Royalties and Milestone Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>99941102 - Disclosure - Commitments and Contingencies - Contingent Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCommitmentsAndContingenciesContingentConsiderationDetails</Role>
      <ShortName>Commitments and Contingencies - Contingent Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Stock Based Compensation and Other Benefit Plans - ESPP (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansEsppDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - ESPP (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>99941202 - Disclosure - Stock Based Compensation and Other Benefit Plans - 2010 Plan Stock Options and FV Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlans2010PlanStockOptionsAndFvAssumptionsDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - 2010 Plan Stock Options and FV Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>99941203 - Disclosure - Stock Based Compensation and Other Benefit Plans - Cash-Out Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansCashOutAgreementDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Cash-Out Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>99941204 - Disclosure - Stock Based Compensation and Other Benefit Plans - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansStockOptionActivityDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>99941205 - Disclosure - Stock Based Compensation and Other Benefit Plans - Performance Stock Unit Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansPerformanceStockUnitAwardsDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Performance Stock Unit Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>99941206 - Disclosure - Stock Based Compensation and Other Benefit Plans - Performance Stock Unit Awards Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansPerformanceStockUnitAwardsFairValueDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Performance Stock Unit Awards Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>99941207 - Disclosure - Stock Based Compensation and Other Benefit Plans - Performance Stock Unit Awards Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansPerformanceStockUnitAwardsActivityDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Performance Stock Unit Awards Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>99941208 - Disclosure - Stock Based Compensation and Other Benefit Plans - Restricted Stock Unit Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansRestrictedStockUnitAwardsDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Restricted Stock Unit Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>99941209 - Disclosure - Stock Based Compensation and Other Benefit Plans - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureStockBasedCompensationAndOtherBenefitPlansStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock Based Compensation and Other Benefit Plans - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - Capital Stock - Dividends (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCapitalStockDividendsDetails</Role>
      <ShortName>Capital Stock - Dividends (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>99941302 - Disclosure - Capital Stock - BVF Ownership (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCapitalStockBvfOwnershipDetails</Role>
      <ShortName>Capital Stock - BVF Ownership (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>99941303 - Disclosure - Capital Stock - ATM Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCapitalStockAtmAgreementsDetails</Role>
      <ShortName>Capital Stock - ATM Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>99941304 - Disclosure - Capital Stock - Stock Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureCapitalStockStockRepurchaseProgramDetails</Role>
      <ShortName>Capital Stock - Stock Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>99941401 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>99941501 - Disclosure - Segment and Geographic Information - General Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSegmentAndGeographicInformationGeneralInformationDetails</Role>
      <ShortName>Segment and Geographic Information - General Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>99941502 - Disclosure - Segment and Geographic Information - Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSegmentAndGeographicInformationSegmentInformationDetails</Role>
      <ShortName>Segment and Geographic Information - Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>99941503 - Disclosure - Segment and Geographic Information - Geographic Regions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSegmentAndGeographicInformationGeographicRegionsDetails</Role>
      <ShortName>Segment and Geographic Information - Geographic Regions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="xoma-20260331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>99941601 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xoma.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xoma.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>112</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>xoma-20260331.xsd</File>
    <File>xoma-20260331_cal.xml</File>
    <File>xoma-20260331_def.xml</File>
    <File>xoma-20260331_lab.xml</File>
    <File>xoma-20260331_pre.xml</File>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="xoma-20260331x10q.htm">xoma-20260331x10q.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="896">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="36">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
