XML 53 R43.htm IDEA: XBRL DOCUMENT
v3.22.1

Leases - Additional Information (Detail) $ in Thousands |  | 3 Months Ended |
--- | --- | --- | ---
Nov. 11, 2019 USD ($) ft² | Mar. 31, 2022 USD ($) m² ft² | Dec. 31, 2021 USD ($)
Lessee, Lease, Description [Line Items] |  |  |
Operating lease, liability |  | $ 5,591 |
Right-of-use assets |  | $ 8,344 | $ 8,710
Waltham Lease |  |  |
Lessee, Lease, Description [Line Items] |  |  |
Current office space under lease agreement | ft² |  | 6,000 |
Operating lease expiration (years) |  | 5 years |
Current base rent |  | $ 300 |
Lease, term of contract (years) |  | 5 years |
Vienna Lease |  |  |
Lessee, Lease, Description [Line Items] |  |  |
Office space | m² |  | 1,200 |
Lease not yet commenced, term of contract |  | 7 years |
Annual base rent |  | $ 300 |
Allston Lease |  |  |
Lessee, Lease, Description [Line Items] |  |  |
Current office space under lease agreement | ft² | 28,000 |  |
Lease not yet commenced | $ 1,000 |  |
Lease, renewal term of contract (years) | 5 years |  |

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_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of lessee's operating lease not yet commenced, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRenewalTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Aggregate base rent. + References No definition available. + Details
Name: | xfor_AggregateBaseRent
Namespace Prefix: | xfor_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Current office space under lease agreement. + References No definition available. + Details
Name: | xfor_CurrentOfficeSpaceUnderLeaseAgreement
Namespace Prefix: | xfor_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee, Operating Lease, Lease Not Yet Commenced, Amount + References No definition available. + Details
Name: | xfor_LesseeOperatingLeaseLeaseNotYetCommencedAmount
Namespace Prefix: | xfor_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Lessee, Operating Lease, Lease Not Yet Commenced, Annual Base Rent + References No definition available. + Details
Name: | xfor_LesseeOperatingLeaseLeaseNotYetCommencedAnnualBaseRent
Namespace Prefix: | xfor_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Lessee, Operating Lease, Lease Not Yet Commenced, Office Space + References No definition available. + Details
Name: | xfor_LesseeOperatingLeaseLeaseNotYetCommencedOfficeSpace
Namespace Prefix: | xfor_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating lease expiration. + References No definition available. + Details
Name: | xfor_OperatingLeaseExpiration
Namespace Prefix: | xfor_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis=xfor_WalthamLeaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis=xfor_ViennaAustriaLeaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis=xfor_AllstonLeaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |