XML 44 R34.htm IDEA: XBRL DOCUMENT
v3.22.1

License, Collaboration, and Funding Agreements - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2022 | Mar. 31, 2021
Collaboration License And Funding Arrangements [Line Items] |  |
Other income, net | $ 60 | $ 186
Gain (Loss) on Disposition of Other Assets | 500 |
Research and Development Incentive |  |
Collaboration License And Funding Arrangements [Line Items] |  |
Grant receivable | 900 |
Other income, net | $ 100 | $ 300

X
- Definition Amount of gain (loss) on sale or disposal of other assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnSaleOfOtherAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Collaboration, license and funding arrangements. + References No definition available. + Details
Name: | xfor_CollaborationLicenseAndFundingArrangementsLineItems
Namespace Prefix: | xfor_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Grant and incentive receivables. + References No definition available. + Details
Name: | xfor_GrantAndIncentiveReceivables
Namespace Prefix: | xfor_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=xfor_ResearchAndDevelopmentIncentiveProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |