| Capital Stock - BVF Ownership (Details) - BVF | Dec. 31, 2021 | Feb. 29, 2020 | 
|---|---|---|
| Series Y Convertible Preferred Stock | ||
| Sale of stock | ||
| Beneficial ownership limitation (as a percent) | 50.00% | |
| Xoma Corporation | Common Stock | ||
| Sale of stock | ||
| Ownership interest (as a percent) | 31.20% | |
| Ownership interest, if shares are converted (as a percent) | 52.30% | 
| X | ||||||||||
| 
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Represents the beneficial ownership limitation. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage, if shares are converted. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |