XML 11 R1.htm IDEA: XBRL DOCUMENT v3.22.1
Cover Page - shares
3 Months Ended
Mar. 31, 2022
May 09, 2022
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2022  
Document Transition Report false  
Entity File Number 001-38295  
Entity Registrant Name X4 PHARMACEUTICALS, INC  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 27-3181608  
Entity Address, Address Line One 61 North Beacon Street  
Entity Address, Address Line Two 4th Floor  
Entity Address, City or Town Boston  
Entity Address, State or Province MA  
Entity Address, Postal Zip Code 02134  
City Area Code 857  
Local Phone Number 529-8300  
Title of 12(b) Security Common Stock  
Trading Symbol XFOR  
Security Exchange Name NASDAQ  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Non-accelerated Filer  
Entity Small Business true  
Entity Emerging Growth Company true  
Entity Ex Transition Period true  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   30,823,573
Amendment Flag false  
Document Fiscal Year Focus 2022  
Document Fiscal Period Focus Q1  
Entity Central Index Key 0001501697  
Current Fiscal Year End Date --12-31