3.22.2.2
html
1
24
1
false
0
0
false
0
false
false
R1.htm
0000001 - Document - Cover
Sheet
http://www.x4pharma.com/role/Cover
Cover
Cover
1
false
false
All Reports
Book
All Reports
xfor-20221206.htm
ex11underwritingagreement.htm
ex41xforformofprefundedwar.htm
ex42xforformofclasscwarrant.htm
ex51opinion.htm
ex991pressreleaselaunch.htm
ex992xforpressreleaseprici.htm
xfor-20221206.xsd
xfor-20221206_lab.xml
xfor-20221206_pre.xml
http://xbrl.sec.gov/dei/2021q4
true
false