Annual report pursuant to Section 13 and 15(d)

Loans and Other Arrangements (Details)

v2.4.1.9
Loans and Other Arrangements (Details)
12 Months Ended 1 Months Ended 12 Months Ended 12 Months Ended 1 Months Ended 12 Months Ended 12 Months Ended 0 Months Ended
Dec. 31, 2014
USD ($)
Dec. 31, 2013
USD ($)
Dec. 31, 2012
USD ($)
Dec. 31, 2014
Novartis Note [Member]
USD ($)
Dec. 31, 2013
Novartis Note [Member]
USD ($)
Dec. 31, 2012
Novartis Note [Member]
USD ($)
Jan. 31, 2014
Novartis Note [Member]
Subsequent Event [Member]
USD ($)
Jan. 31, 2014
Servier Loan [Member]
USD ($)
Dec. 31, 2014
Servier Loan [Member]
USD ($)
Dec. 31, 2013
Servier Loan [Member]
USD ($)
Dec. 31, 2012
Servier Loan [Member]
USD ($)
Dec. 31, 2012
Servier Loan [Member]
EUR (€)
Dec. 31, 2014
Servier Loan [Member]
Minimum [Member]
Dec. 31, 2014
Servier Loan [Member]
Maximum [Member]
Sep. 30, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Installment
Dec. 31, 2014
General Electric Capital Corporation Term Loan [Member]
USD ($)
Installment
Dec. 31, 2013
General Electric Capital Corporation Term Loan [Member]
USD ($)
Dec. 31, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Sep. 27, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Dec. 31, 2014
Other Financings [Member]
USD ($)
Dec. 31, 2013
Other Financings [Member]
USD ($)
Dec. 31, 2012
Other Financings [Member]
USD ($)
Feb. 27, 2015
Hercules Loan [Member]
Subsequent Event [Member]
USD ($)
Feb. 27, 2015
Hercules Loan [Member]
Subsequent Event [Member]
USD ($)
Debt Instrument [Line Items]                                                
Maturity date       Jun. 30, 2015                       Jun. 15, 2015             Sep. 01, 2018  
Research and development expenses funded through loan facility, maximum (in hundredths)       75.00%xoma_CollaborativeArrangementResearchAndDevelopmentExpenseFundedThroughDebtInstrumentPercentageMaximum
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
                                       
Maximum borrowing capacity under loan agreement       $ 50,000,000xoma_DebtInstrumentMaximumBorrowingCapacity
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
              € 15,000,000xoma_DebtInstrumentMaximumBorrowingCapacity
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                       
Variable rate basis       six-month LIBOR         Euro Inter-Bank Offered Rate ("EURIBOR")                           The interest rate will be calculated at a rate equal to the greater of either (i) 9.40% plus the prime rate as reported from time to time in The Wall Street Journal minus 7.25%, and (ii) 9.40%.  
Basis spread on variable rate (in hundredths)       2.00%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
                                       
Interest rate at period end (in hundredths)       2.35%us-gaap_DebtInstrumentInterestRateEffectivePercentage
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
                                       
Outstanding principal balance       13,400,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
14,800,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
      18,200,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
            5,200,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
9,400,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
10,000,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
3,100,000us-gaap_DebtInstrumentCarryingAmount
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
         
Periodic Payment, Principal                             347,222us-gaap_DebtInstrumentPeriodicPaymentPrincipal
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
                 
Accrued interest 1,444,000us-gaap_DebtInstrumentIncreaseAccruedInterest (2,284,000)us-gaap_DebtInstrumentIncreaseAccruedInterest (1,186,000)us-gaap_DebtInstrumentIncreaseAccruedInterest 300,000us-gaap_DebtInstrumentIncreaseAccruedInterest
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
400,000us-gaap_DebtInstrumentIncreaseAccruedInterest
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
400,000us-gaap_DebtInstrumentIncreaseAccruedInterest
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
  200,000us-gaap_DebtInstrumentIncreaseAccruedInterest
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                               
Proceeds from loan                     19,500,000us-gaap_ProceedsFromIssuanceOfDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
      4,600,000us-gaap_ProceedsFromIssuanceOfDebt
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
                 
Percentage of milestone received (in hundredths)             25.00%xoma_PercentageOfMilestoneReceived
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
                                 
Milestone received under the collaboration agreement             7,000,000xoma_MilestoneReceivedUnderCollaborationAgreement
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
                                 
Repayment of debt             1,750,000xoma_LongTermDebtMaturitiesRepayment
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
                                 
Increase (Decrease) in term loan obligation                             12,500,000xoma_IncreaseDecreaseInTermLoanObligation
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
                 
Initial interest rate during period (in hundredths)                 3.22%xoma_DebtInstrumentInitialInterestRateDuringPeriod
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                             
Interest rate reset semi-annually during period (in hundredths)                 2.16%xoma_DebtInstrumentInitialInterestRateResetSemiAnnuallyDuringPeriod
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
      2.31%xoma_DebtInstrumentInitialInterestRateResetSemiAnnuallyDuringPeriod
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
3.83%xoma_DebtInstrumentInitialInterestRateResetSemiAnnuallyDuringPeriod
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
                   
Unrealized foreign exchange gain (loss) 2,280,000us-gaap_ForeignCurrencyTransactionGainLossUnrealized (662,000)us-gaap_ForeignCurrencyTransactionGainLossUnrealized (295,000)us-gaap_ForeignCurrencyTransactionGainLossUnrealized           2,400,000us-gaap_ForeignCurrencyTransactionGainLossUnrealized
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
(800,000)us-gaap_ForeignCurrencyTransactionGainLossUnrealized
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
(400,000)us-gaap_ForeignCurrencyTransactionGainLossUnrealized
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                         
Unrealized foreign exchange gains related to re-measurement of loan discount                 (300,000)xoma_UnrealizedForeignExchangeGainsRelatedToRemeasurementOfLoanDiscount
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
200,000xoma_UnrealizedForeignExchangeGainsRelatedToRemeasurementOfLoanDiscount
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
100,000xoma_UnrealizedForeignExchangeGainsRelatedToRemeasurementOfLoanDiscount
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                         
Euro to US Dollar exchange rates 1.216us-gaap_ForeignCurrencyExchangeRateTranslation1               1.2160us-gaap_ForeignCurrencyExchangeRateTranslation1
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                             
Unamortized discount on debt                 8,900,000us-gaap_DebtInstrumentUnamortizedDiscount
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                             
Amortization period for loan discount                 5 years                              
Amortization of debt discount                 1,900,000us-gaap_AmortizationOfDebtDiscountPremium
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
1,600,000us-gaap_AmortizationOfDebtDiscountPremium
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
1,400,000us-gaap_AmortizationOfDebtDiscountPremium
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                         
Carrying value of the loan 35,537,000us-gaap_LongTermDebt               16,200,000us-gaap_LongTermDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
16,500,000us-gaap_LongTermDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                          20,000,000us-gaap_LongTermDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_HerculesLoanMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
Recognition of deferred revenue                 1,900,000us-gaap_RecognitionOfDeferredRevenue
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
1,600,000us-gaap_RecognitionOfDeferredRevenue
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
1,400,000us-gaap_RecognitionOfDeferredRevenue
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                         
Debt issuance costs                             200,000us-gaap_DebtIssuanceCosts
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
1,300,000us-gaap_DebtIssuanceCosts
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
               
Final payment fee                               500,000xoma_FinalPaymentFeeForLoan
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
    875,000xoma_FinalPaymentFeeForLoan
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
         
Fixed interest rate accrued (in hundredths)                               11.71%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
    10.90%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
         
Number of monthly installments                             27xoma_NumberOfMonthlyInstallments
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
42xoma_NumberOfMonthlyInstallments
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
               
Prepayment premium year one (in hundredths)                               3.00%xoma_PrepaymentPremiumYearOne
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
               
Prepayment premium year two (in hundredths)                               2.00%xoma_PrepaymentPremiumYearTwo
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
               
Prepayment premium year thereafter (in hundredths)                               1.00%xoma_PrepaymentPremiumYearThereafter
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
               
Aggregate number of unregistered shares of common stock called by warrants (in shares)                               263,158us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
    39,346us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
        181,268us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
/ us-gaap_LongtermDebtTypeAxis
= xoma_HerculesLoanMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
Warrants exercise price (in dollars per share)                               $ 1.14us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
    $ 3.54us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
        $ 3.31us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
/ us-gaap_LongtermDebtTypeAxis
= xoma_HerculesLoanMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
Immediate Term for warrants exercisable (in years)                             5 years 5 years                
Fair value of warrant liability                               200,000us-gaap_WarrantsNotSettleableInCashFairValueDisclosure
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
    100,000us-gaap_WarrantsNotSettleableInCashFairValueDisclosure
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
         
Outstanding principle balance and interest                                             5,500,000xoma_DebtInstrumentPaymentPrincipalAndInterest
/ us-gaap_LongtermDebtTypeAxis
= xoma_HerculesLoanMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
 
Aggregate future principal and final fee payments of total interest bearing obligations - long-term [Abstract]                                                
2015 20,276,000us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths                                              
2016 18,447,000us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo                                              
Long-term debt including current portion 38,723,000xoma_LongTermDebtTotalFuturePrincipalAndFinalFeePayments                                              
Less: interest, final payment and discount (3,186,000)xoma_LongTermDebtInterestFinalPaymentAndDiscount                                              
Total long-term 35,537,000us-gaap_LongTermDebt               16,200,000us-gaap_LongTermDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
16,500,000us-gaap_LongTermDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
                          20,000,000us-gaap_LongTermDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_HerculesLoanMember
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
Less current portion (19,247,000)xoma_LongTermDebtIncludingFinalFeeCurrentMaturities                                              
Total long-term debt 16,290,000xoma_LongTermDebtIncludingFinalFeeExcludingCurrentMaturities                                              
Interest expense and amortization of debt issuance costs [Abstract]                                                
Interest expense $ 4,303,000us-gaap_InterestExpenseDebt $ 4,631,000us-gaap_InterestExpenseDebt $ 4,387,000us-gaap_InterestExpenseDebt $ 312,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
$ 362,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
$ 397,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_NovartisNoteMember
    $ 2,330,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
$ 2,152,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
$ 2,097,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_ServierLoanMember
        $ 1,638,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
$ 2,064,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
$ 1,850,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_MediumTermNotesMember
  $ 23,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_OtherFinancingsMember
$ 53,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_OtherFinancingsMember
$ 43,000us-gaap_InterestExpenseDebt
/ us-gaap_LongtermDebtTypeAxis
= xoma_OtherFinancingsMember