XML 67 R57.htm IDEA: XBRL DOCUMENT
v3.22.1

Net Loss per Share - Additional Information (Detail) - $ / shares | 3 Months Ended |
--- | --- | ---
Mar. 31, 2022 | Mar. 31, 2021 | Nov. 29, 2019
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items] |  |  |
Weighted average common shares outstanding—basic and diluted (in shares) | 33,737,000 | 20,751,000 |
Pre Funded Warrant |  |  |
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items] |  |  |
Exercise Price (usd per share) |  |  | $ 11.999
Pre Funded Warrant | Maximum |  |  |
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items] |  |  |
Exercise Price (usd per share) | $ 0.01 |  |

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

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. + References No definition available. + Details
Name: | us-gaap_EarningsPerShareBasicLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS). + References No definition available. + Details
Name: | us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=xfor_PreFundedWarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |