XML 46 R35.htm IDEA: XBRL DOCUMENT
v3.21.2

License, Collaboration, and Funding Agreements - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2021 | Sep. 30, 2020 | Sep. 30, 2021 | Sep. 30, 2020
Collaboration License And Funding Arrangements [Line Items] |  |  |  |
Other income, net | $ (74) | $ 228 | $ 323 | $ 494
Research and Development Incentive |  |  |  |
Collaboration License And Funding Arrangements [Line Items] |  |  |  |
Grant receivable | 600 |  | 600 |
Other income, net | $ 673 | $ 267 | $ 673 | $ 267

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=120395209&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: |