2.4.0.8090500 - Disclosure - Streamlining and Restructuring Charges (Details)truefalseIn Thousands, unless otherwise specifiedfalse1false
USDfalsefalse$c20130401to20130630http://www.sec.gov/CIK0000791908duration2013-04-01T00:00:002013-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$c20120401to20120630http://www.sec.gov/CIK0000791908duration2012-04-01T00:00:002012-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$c20130101to20130630http://www.sec.gov/CIK0000791908duration2013-01-01T00:00:002013-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false
USDfalsefalse$c20120101to20120630http://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00U002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false
falsefalsec20120101to20121231http://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-12-31T00:00:00U009Standardhttp://xoma.com/20130630Positionxoma0U006Standardhttp://www.xbrl.org/2003/instancepurexbrli01true
3us-gaap_RestructuringCostAndReserveLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_RestructuringAndRelatedCostExpectedNumberOfPositionsEliminatedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse8484falsefalsefalse | xbrli:integerItemTypeintegerThe expected number of positions to be eliminated as a result of restructuring activities.No definition available.false256
3false
4us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedPeriodPercentus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truetruefalse0.340.34falsefalsefalse | num:percentItemTypepureThe number of positions eliminated during the period as a percentage of total positions eliminated during the period in connection with the restructuring plan(s).No definition available.false0
4false
4us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5truefalsefalse5252falsefalsefalse | xbrli:integerItemTypeintegerThe number of positions eliminated during the period as a result of restructuring activities.No definition available.false256
5false
4us-gaap_RestructuringChargesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse7900079USD$falsetruefalse | 2truefalsefalse676000676USD$falsetruefalse | 3truefalsefalse9700097USD$falsetruefalse | 4truefalsefalse44530004453USD$falsetruefalse | 5falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 5.P.4(b))
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 5.P.3)
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140864-122747
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section P
-Subsection 3, 4
false2
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 6false
USDtruefalse$c20120101to20120630_RestructuringCostAndReserveAxis_EmployeeSeveranceMemberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseEmployee Severance and Other Benefits [Member]us-gaap_RestructuringCostAndReserveAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeSeveranceMemberus-gaap_RestructuringCostAndReserveAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
7true
3us-gaap_RestructuringCostAndReserveLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
8false
4us-gaap_RestructuringChargesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse21000002100USD$falsefalsefalse | 5falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 5.P.4(b))
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 5.P.3)
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140864-122747
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section P
-Subsection 3, 4
false2
9false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$c20120101to20120630_RestructuringCostAndReserveAxis_OtherRestructuringMemberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseAsset Impairment and Accelerated Depreciation [Member]us-gaap_RestructuringCostAndReserveAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherRestructuringMemberus-gaap_RestructuringCostAndReserveAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
10true
3us-gaap_RestructuringCostAndReserveLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
11false
4us-gaap_RestructuringChargesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse21000002100USD$falsefalsefalse | 5falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 5.P.4(b))
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 5.P.3)
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140864-122747
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section P
-Subsection 3, 4
false2
12false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | 8false
USDtruefalse$c20120101to20120630_RestructuringCostAndReserveAxis_FacilityClosingMemberhttp://www.sec.gov/CIK0000791908duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseFacility Closing [Member]us-gaap_RestructuringCostAndReserveAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FacilityClosingMemberus-gaap_RestructuringCostAndReserveAxisexplicitMemberU002Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
13true
3us-gaap_RestructuringCostAndReserveLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
14false
4us-gaap_RestructuringChargesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4truefalsefalse300000300USD$falsetruefalse | 5falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 5.P.4(b))
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140904-122747
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 420
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 5.P.3)
-URI http://asc.fasb.org/extlink&oid=27011515&loc=d3e140864-122747
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 5
-Section P
-Subsection 3, 4
false2
falseStreamlining and Restructuring Charges (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://xoma.com/role/StreamliningAndRestructuringChargesDetails514