XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.22.1

Fair Value of Financial Assets and Liabilities - Schedule of Assets and Liabilities Measured at Fair Value (Detail) - USD ($) | Mar. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Fair Value, Measurements, Recurring |  |
Fair Value Assets And Liabilities Measured On Recurring Basis [Line Items] |  |
Cash equivalents | $ 2,626,000 | $ 47,793,000
Fair value of derivative liability | 645,000 | 821,000
Fair Value, Measurements, Recurring | Level 1 |  |
Fair Value Assets And Liabilities Measured On Recurring Basis [Line Items] |  |
Cash equivalents | 0 | 20,000,000
Fair value of derivative liability | 0 | 0
Fair Value, Measurements, Recurring | Level 2 |  |
Fair Value Assets And Liabilities Measured On Recurring Basis [Line Items] |  |
Cash equivalents | 2,626,000 | 27,793,000
Fair value of derivative liability | 0 | 0
Fair Value, Measurements, Recurring | Level 3 |  |
Fair Value Assets And Liabilities Measured On Recurring Basis [Line Items] |  |
Cash equivalents | 0 | 0
Fair value of derivative liability | 645,000 | $ 821,000
Measurement Input, Discount Rate |  |
Fair Value Assets And Liabilities Measured On Recurring Basis [Line Items] |  |
Fair value of derivative liability | $ 0.14 |

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair Value Assets And Liabilities Measured On Recurring Basis [Line Items] + References No definition available. + Details
Name: | xfor_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisLineItems
Namespace Prefix: | xfor_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |