Summary of Significant Accounting Policies | SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Use of Estimates— The preparation of the Company’s consolidated financial statements in conformity with U.S. Generally Accepted Accounting Principles (“GAAP”) requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, the disclosure of contingent assets and liabilities at the date of the consolidated financial statements, and the reported amounts of expenses during the reporting period. Significant estimates and assumptions reflected in these consolidated financial statements include, but are not limited to, the accrual of research and development expenses, the impairment or lack of impairment of long-lived assets including operating lease right-of-use assets and goodwill, and the constraint of variable consideration from contracts with customers. The Company bases its estimates on historical experience, known trends and other market-specific or other relevant factors that it believes to be reasonable under the circumstances. On an ongoing basis, management evaluates its estimates when there are changes in circumstances, facts and experience. Changes in estimates are recorded in the period in which they become known. As of the date of issuance of these consolidated financial statements, the Company is not aware of any specific event or circumstance that would require the Company to update its estimates, assumptions and judgments or revise the carrying value of its assets or liabilities. Actual results could differ from those estimates, and any such differences may be material to the Company’s consolidated financial statements. Foreign Currency and Currency Translation— The functional currency of the Company’s foreign subsidiary, X4 Austria, is the U.S. dollar. However, X4 Austria maintains its books and records in Euro. As a result, monetary assets and liabilities are translated at current exchange rates as of the balance sheet date, non-monetary assets such as property and equipment and equity accounts are translated at historic rates and income and expenses are translated at the average exchanges rates for the period. Adjustments resulting from the translation of the consolidated financial statements of X4 Austria into U.S. dollars are included in the determination of net loss and are recorded in other expense, net. Concentrations of Credit Risk and Significant Suppliers— Financial instruments that potentially subject the Company to concentrations of credit risk consist principally of cash and cash equivalents and research and development incentive receivables. The Company generally maintains cash balances in various operating accounts at financial institutions that management believes to be of high credit quality in amounts that may exceed federally insured limits. The Company has not experienced losses related to its cash and cash equivalents. The Company is dependent on third-party manufacturers to supply products for research and development activities in its programs. The Company relies and expects to continue to rely on a small number of manufacturers to supply it with its requirements for the active pharmaceutical ingredients and formulated drugs related to these programs. These programs could be adversely affected by a significant interruption in these manufacturing services or in the supply of active pharmaceutical ingredients and formulated drugs. Cash and Cash Equivalents— The Company considers all highly liquid investments with maturities of three months or less at the date of purchase to be cash equivalents. Cash equivalents consisted of money market funds as of December 31, 2022 and 2021. Restricted Cash (in thousands) As of December 31, 2022 As of December 31, 2021 Letter of credit security: Waltham lease $ 250 $ 250 Letter of credit security: Vienna Austria lease 205 216 Letter of credit security: Boston lease 855 855 Total restricted cash $ 1,310 $ 1,321 Restricted cash included in prepaid expenses and other current assets $ 285 $ — Restricted cash included in other assets $ 1,025 $ 1,321 In connection with the Company’s lease agreement for its facilities in Massachusetts and Austria, the Company maintains letters of credit, which are secured by restricted cash, for the benefit of the respective landlord. In accordance with the Company’s Second Amended and Restated Loan and Security Agreement with Hercules and as further described in Note 7, the Company at all times must maintain a minimum level of cash of $20.0 million in an account or accounts in which Hercules has a first priority security interest as further described in Note 7. The following table provides a reconciliation of cash, cash equivalents, and restricted cash reported within the consolidated balance sheets to the sum to the total of amounts shown in the Company’s consolidated statements of cash flows as of December 31, 2022, 2021 and 2020: (in thousands) December 31, December 31, 2021 December 31, Cash and cash equivalents $ 121,718 $ 81,787 $ 78,708 Restricted cash, current (included within prepaid expenses and other current assets) 285 — 264 Restricted cash, non-current (included within other assets) 1,025 1,321 1,730 Total cash, cash equivalents and restricted cash $ 123,028 $ 83,108 $ 80,702 Property and Equipment— Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation and amortization expense is recognized using the straight-line method over the estimated useful life of each asset, as follows: Estimated Useful Life Office furniture 3 to 7 years Computer equipment 3 years Laboratory equipment 3 to 10 years Leasehold improvements Shorter of lease term or 10 years Estimated useful lives are periodically assessed to determine if changes are appropriate. Maintenance and repairs are charged to expense as incurred. When assets are retired or otherwise disposed of, the cost of these assets and related accumulated depreciation or amortization are eliminated from the consolidated balance sheet and any resulting gains or losses are included in the consolidated statements of operations and comprehensive loss in the period of disposal. Costs for capital assets not yet placed into service are capitalized as construction-in-progress and depreciated once placed into service. Right-of-Use Assets and Leases— The Company accounts for leases in accordance with Accounting Standards Codification (“ASC”), Topic 842, Leases (“ASC 842”). Under ASC 842, at the inception of an arrangement, the Company determines whether the arrangement contains a lease based on the unique facts and circumstances present. Leases with a non-cancellable term greater than one year are recognized on the balance sheet as right-of-use assets with associated current and non-current lease liabilities. The Company has elected not to recognize on the balance sheet leases with terms of one year or less. Options to renew a lease are not included in the Company’s initial lease term assessment unless there is reasonable certainty that the Company will renew the lease. If a lease is cancellable without penalty, the Company excludes from the lease term periods following the cancellation notice period unless it is reasonably certain that the Company will not cancel the lease. Operating lease liabilities and their corresponding right-of-use assets are recorded based on the present value of lease payments over the expected remaining lease term. Certain adjustments to the right-of-use operating asset may be required for items such as incentives received or accrued rent. The interest rate implicit in lease contracts is typically not readily determinable. As a result, the Company utilizes its incremental borrowing rates, which are the rates it incurs to borrow on a collateralized basis over a similar term an amount equal to the lease payments in a similar economic environment. The Company has referenced the effective rate of its Hercules borrowings, as adjusted for differences terms, to determine calculate its incremental borrowing rate for each of its operating leases. In accordance with the guidance in ASC 842, components of a lease are split into lease components and non-lease components. A policy election is available pursuant to which an entity may elect to not separate lease and non-lease components. Rather, each lease component and the related non-lease components are accounted for together as a single component. For new and amended leases beginning in 2019 and after, the Company has elected to account for the lease and non-lease components as a combined lease component for its office and laboratory building leases. Impairment of Long-Lived Assets— Long-lived assets consist of property and equipment and operating lease right-of-use assets. Long-lived assets to be held and used are tested for recoverability whenever events or changes in business circumstances indicate that the carrying amount of the assets may not be fully recoverable. Factors that the Company considers in deciding when to perform an impairment review include significant underperformance of the business in relation to expectations, significant negative industry or economic trends and significant changes or planned changes in the use of the assets. If an impairment review is performed to evaluate a long-lived asset group for recoverability, the Company compares forecasts of undiscounted cash flows expected to result from the use and eventual disposition of the long-lived asset group to its carrying value. An impairment loss would be recognized in loss from operations when estimated undiscounted future cash flows expected to result from the use of an asset group are less than its carrying amount. The impairment loss would be based on the excess of the carrying value of the impaired asset group over its fair value. To date, the Company has not recorded any material impairment losses on long-lived assets. Goodwill— Business combinations are accounted for under the acquisition method. The total purchase price of an acquisition is allocated to the underlying identifiable net assets, based on their respective estimated fair values as of the acquisition date. Determining the fair value of assets acquired and liabilities assumed requires management’s judgment and often involves the use of significant estimates and assumptions, including assumptions with respect to future cash inflows and outflows, probabilities of success, discount rates, and asset lives, among other items. Assets acquired and liabilities assumed are recorded at their estimated fair values. The excess of the purchase price over the estimated fair values of the net assets acquired is recorded as goodwill. Goodwill is tested quantitatively for impairment at the reporting unit level annually in the fourth quarter, or more frequently when events or changes in circumstances indicate that the asset might be impaired. Examples of such events or circumstances include, but are not limited to, a significant adverse change in legal or business climate, an adverse regulatory action, a significant decline in the price of the Company’s common stock, or unanticipated competition. The Company has determined that it operates in a single operating segment and has a single reporting unit. To perform its quantitative test, the Company compares the fair value of the reporting unit to its carrying value. If the fair value of the reporting unit exceeds the carrying value of its net assets, goodwill is not impaired, and no further testing is required. If the fair value of the reporting unit is less than the carrying value, the Company measures the amount of impairment loss, if any, as the excess of the carrying value over the fair value of the reporting unit. See Note 4 for more information on the Company’s goodwill impairment tests as of December 31, 2022 and 2021. Fair Value Measurements— Certain assets and liabilities of the Company are carried at fair value under GAAP. Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Valuation techniques used to measure fair value must maximize the use of observable inputs and minimize the use of unobservable inputs. Financial assets and liabilities carried at fair value are to be classified and disclosed in one of the following three levels of the fair value hierarchy, of which the first two are considered observable and the last is considered unobservable: • Level 1—Quoted prices in active markets for identical assets or liabilities. • Level 2—Observable inputs (other than Level 1 quoted prices), such as quoted prices in active markets for similar assets or liabilities, quoted prices in markets that are not active for identical or similar assets or liabilities, or other inputs that are observable or can be corroborated by observable market data. • Level 3—Unobservable inputs that are supported by little or no market activity that are significant to determining the fair value of the assets or liabilities, including pricing models, discounted cash flow methodologies and similar techniques. The embedded derivative liability related to the redemption features of the Company’s debt with Hercules as described further below is carried at fair value and is a Level 3 measurement. The Company’s cash equivalents, consisting of money market funds invested in U.S. Treasury securities, are carried at fair value, determined based on Level 1 and Level 2 inputs in the fair value hierarchy described above. The carrying values of the Company’s accounts payable and accrued expenses approximate their fair values due to the short-term nature of these liabilities. The carrying value of the Company’s outstanding loan and security agreement with Hercules approximates its fair value at December 31, 2022 because the debt bears interest at a variable market rate and the Company’s credit risk has not materially changed since the inception of the agreement. Segment Information— The Company manages its operations as a single operating segment for the purposes of assessing performance and making operating decisions. The Company’s focus is on the research, development and commercialization of novel therapeutics for the treatment of rare diseases. Revenue Recognition— The Company records revenue, if any, using the guidance of ASC Topic 606, Revenue from Contracts with Customers (“ASC 606”), as amended. The Company’s revenues to date have been generated through a license agreement with Abbisko Therapeutics Co., Ltd. (“Abbisko”). For collaboration arrangements, the Company first determines which elements of the arrangement are deemed to be within the scope of ASC Topic 808 Collaborative Arrangements (“ASC 808”) and those that are more reflective of a vendor-customer relationship and, therefore, within the scope of ASC 606. The Company’s policy is generally to recognize amounts received from collaborators in connection with joint operating activities that are within the scope of ASC 808 as a reduction in research and development expense. To date, there have been no transactions within the scope of ASC 808. Upon the potential approval of the sales and marketing of the Company’s lead product candidate, revenue related to its sale and distribution will be accounted for under ASC 606. The Company recognizes revenue when its customers obtain control of promised goods or services, in an amount that reflects the consideration which the Company determines it expects to receive in exchange for those goods or services. To determine revenue recognition for arrangements that the Company determines are within the scope of ASC 606, the Company performs the following five steps: (1) identify the customer and contract(s) with a the customer; (2) identify the performance obligation(s) in the contract; (3) determine the transaction price, adjusted for variable consideration resulting from potential returns, rebates and down-stream charges; (4) allocate the transaction price to the performance obligation(s) in the contract; and (5) recognize revenue when (or as) the Company satisfies its performance obligation(s), which is expected to be upon shipment of the finished product (labelled bottles of capsulized drug product). As part of the accounting for these arrangements, the Company must make significant judgments, including the estimation of the amount of variable consideration to include in the transaction price. Once a contract is determined to be within the scope of ASC 606, the Company assesses the goods or services promised within the contract and determines those that are performance obligations. Arrangements that include rights to additional goods or services that are exercisable at a customer’s discretion are generally considered options. The Company assesses if these options provide a material right to the customer and if so, they are considered performance obligations. The Company assesses whether each promised good or service is distinct for the purpose of identifying the performance obligations in the contract. This assessment involves subjective determinations and requires management to make judgments about the individual promised goods or services and whether such are separable from the other aspects of the contractual relationship. Promised goods and services are considered distinct provided that: i. the customer can benefit from the good or service either on its own or together with other resources that are readily available to the customer (that is, the good or service is capable of being distinct) and ii. the entity’s promise to transfer the good or service to the customer is separately identifiable from other promises in the contract (that is, the promise to transfer the good or service is distinct within the context of the contract). In assessing whether a promised good or service is distinct, the Company considers factors such as the research, manufacturing and commercialization capabilities of the customer and the availability of the associated expertise in the general marketplace. The Company also considers the intended benefit of the contract in assessing whether a promised good or service is separately identifiable from other promises in the contract. If a promised good or service is not distinct, an entity is required to combine that good or service with other promised goods or services until it identifies a bundle of goods or services that is distinct. The transaction price is then determined and allocated to the identified performance obligations in proportion to their standalone selling prices (“SSP”) on a relative SSP basis. SSP is determined at contract inception and is not updated to reflect changes between contract inception and when the performance obligations are satisfied. Determining the SSP for performance obligations requires significant judgment. In developing the SSP for a performance obligation, the Company considers applicable market conditions and relevant entity-specific factors, including factors that were contemplated in negotiating the agreement with the customer and estimated costs. The Company validates the SSP for performance obligations by evaluating whether changes in the key assumptions used to determine the SSP will have a significant effect on the allocation of arrangement consideration between multiple performance obligations. If the consideration promised in a contract includes a variable amount, the Company estimates the amount of consideration to which it will be entitled in exchange for transferring the promised goods or services to a customer. The Company determines the amount of variable consideration by using either the expected value method or the most-likely-amount method. The Company includes the unconstrained amount of estimated variable consideration in the transaction price. The amount included in the transaction price reflects the amount for which it is probable that a significant reversal of cumulative revenue recognized will not occur. At the end of each subsequent reporting period, the Company re-evaluates the estimated variable consideration included in the transaction price and any related constraint, and if necessary, adjusts its estimate of the overall transaction price. Any such adjustments are recorded on a cumulative catch-up basis in the period of adjustment. The Company then recognizes as revenue the amount of the transaction price that is allocated to the respective performance obligation when (or as) each performance obligation is satisfied at a point in time or over time, and if over time based on the use of an output or input method. At the inception of each arrangement that includes non-refundable payments for contingent milestones, particularly in license agreements, the Company evaluates whether the milestones are considered probable of being achieved and estimates the amount to be included in the transaction price using the most-likely-amount method. If it is probable that a significant revenue reversal would not occur, the associated milestone value is included in the transaction price. Milestone payments that are not within the control of the Company or the licensee, such as regulatory approvals, are not considered probable of being achieved until those approvals are received. At the end of each reporting period, the Company re-evaluates the probability of the achievement of contingent milestones and the likelihood of a significant reversal of such milestone revenue, and if necessary, adjusts its estimate of the overall transaction price. Any such adjustments are recorded on a cumulative catch-up basis, which would affect licensing revenue in the period of adjustment. This quarterly assessment may result in the recognition of revenue related to a contingent milestone payment before the milestone event has been achieved. Research and Development Programs— Proceeds under the research and development incentive program from the Austrian government are recognized as other income in an amount equal to the qualifying expenses incurred in each period multiplied by the applicable reimbursement percentage. Incentive income recognized upon incurring qualifying expenses in advance of receipt of proceeds from research and development incentives is recorded in the consolidated balance sheet as research and development incentive receivable. Research and Development Costs— Costs associated with internal research and development and external research and development services, including drug development and preclinical studies, are expensed as incurred. Research and development expenses include costs for salaries, employee benefits, subcontractors, facility-related expenses, depreciation and amortization, stock-based compensation, third-party license fees, laboratory supplies, and external costs of outside vendors engaged to conduct discovery, preclinical and clinical development activities and clinical trials as well as to manufacture clinical trial materials, and other costs. The Company recognizes external research and development costs based on an evaluation of the progress to completion of specific tasks using information provided to the Company by its service providers. Nonrefundable advance payments for services to be received in the future for use in research and development activities are recorded as prepaid expenses. Such prepaid expenses are recognized as an expense when the related services have been performed, or when it is no longer expected that the goods will be delivered or the services rendered. Patent Costs— All patent-related costs incurred in connection with filing and prosecuting patent applications are expensed as incurred due to the uncertainty about the recovery of the expenditure. Amounts incurred are classified as selling, general and administrative expenses. Debt Issuance Costs— Debt issuance costs consist of payments made to secure commitments under certain debt financing arrangements. These amounts are recognized as interest expense over the period of the financing arrangement using the effective interest method. If the financing arrangement is canceled or forfeited, or if the utility of the arrangement to the Company is otherwise compromised, these costs are recognized as interest expense immediately. The Company’s consolidated financial statements present debt issuance costs related to a recognized debt liability as a direct reduction from the carrying amount of that debt liability. Stock-Based Compensation— The Company measures all stock-based awards granted to employees, nonemployees and directors based on the fair value on the date of the grant and recognizes compensation expense for those awards, net of estimated forfeitures, over the requisite service period, which is generally the vesting period of the respective award. The Company issues stock-based awards with service-based vesting conditions and records the expense for these awards using the straight-line method. The Company has also issued stock-based awards with performance-based vesting conditions that vest in part upon the Company’s achievement of operational milestones and over time thereafter for the subsequent two years as the employee continues to provide services. The Company assesses the probability of achievement of these operational milestones and recognizes stock-based compensation for these awards using the accelerated attribution model based on the fair value of the awards as of the date of grant and its best estimate of the date each operational milestone will be achieved. The Company classifies stock-based compensation expense in its consolidated statements of operations and comprehensive loss in the same manner in which the award recipient’s payroll costs are classified or in which the award recipient’s service payments are classified. The Company recognizes compensation expense for only the portion of awards that are expected to vest. In developing a forfeiture rate estimate, the Company has considered its historical experience to estimate pre-vesting forfeitures for service-based awards. The impact of a forfeiture rate adjustment is recognized in full in the period of adjustment, and if the actual forfeiture rate is materially different from the Company’s estimate, the Company may be required to record adjustments to stock-based compensation expense in future periods. The fair value of each stock option grant is estimated on the date of grant using the Black-Scholes option-pricing model. Prior to March 13, 2019, the Company was a private company and lacked company-specific historical and implied volatility information for its common stock. Therefore, the Company estimates its expected common stock price volatility based on the historical volatility of publicly traded peer companies and expects to continue to do so until it has adequate historical data regarding the volatility of its own traded stock price. The expected term of the Company’s stock options has been determined utilizing the “simplified” method for awards that qualify as “plain-vanilla” options. The expected term of stock options granted to non-employee consultants is equal to the contractual term of the option award. The risk-free interest rate is determined by reference to the U.S. Treasury yield curve in effect at the time of grant of the award for time periods approximately equal to the expected term of the award. Expected dividend yield considers the fact that the Company has never paid cash dividends on common stock and does not expect to pay any cash dividends in the foreseeable future. Derivative Liabilities: Hercules Loan Redemption Feature— The Company’s loan agreement with Hercules (see Note 7) contains a redemption feature that, upon an event of default, provides Hercules the option to accelerate and demand repayment of the debt, including a prepayment premium, or, at its election, charge additional contingent interest fees on any overdue interest or principal payments. The redemption feature meets the definition of a derivative instrument as the repayment of the debt contains a substantial premium, resulting in the redemption feature not being clearly and closely related to its host instrument. Accordingly, the Company classifies this derivative as a liability within other liabilities (non-current) on its consolidated balance sheets. The derivative liability was initially recorded at fair value on the date of the Hercules Loan Agreement and is subsequently remeasured to fair value at each reporting date. Changes in the fair value of this derivative liability, which is included in other liabilities, are recognized as a component of other income (expense), net in the consolidated statement of operations and comprehensive loss. Changes in the fair value of this derivative liability will continue to be recognized until all amounts outstanding under the Hercules Loan Agreement are repaid or until the Hercules Loan Agreement is terminated. Comprehensive Loss— For the year ended December 31, 2022, 2021, and 2020 all foreign currency remeasurement gains and losses were included in net loss as the Company has deemed the functional currency of its foreign subsidiary to be the U.S. Dollar. Accumulated other comprehensive loss includes foreign currency translation adjustments of $119 thousand for the year ended December 31, 2019 that were included in other comprehensive loss prior to the designation of the U.S. Dollar as the functional currency of X4 Austria. Income Taxes — The Company accounts for income taxes using the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been recognized in the consolidated financial statements or in the Company’s tax returns. Deferred tax assets and liabilities are determined based on the difference between the financial statement and tax basis of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to reverse. Changes in deferred tax assets and liabilities are recorded in the provision for income taxes. The Company assesses the likelihood that its deferred tax assets will be recovered from future taxable income and, to the extent it believes, based upon the weight of available evidence, that it is more likely than not that all or a portion of the deferred tax assets will not be realized, a valuation allowance is established through a charge to income tax expense. Potential for recovery of deferred tax assets is evaluated by estimating the future taxable profits expected and considering prudent and feasible tax planning strategies. The Company accounts for uncertainty in income taxes recognized in the consolidated financial statements by applying a two-step process to determine the amount of tax benefit to be recognized. First, the tax position must be evaluated to determine the likelihood that it will be sustained upon external examination by the taxing authorities. If the tax position is deemed more-likely-than-not to be sustained, the tax position is then assessed to determine the amount of benefit to recognize in the consolidated financial statements. The amount of the benefit that may be recognized is the largest amount that has a greater than 50% likelihood of being realized upon ultimate settlement. The provision for income taxes includes the effects of any resulting tax reserves, or unrecognized tax benefits, that are considered appropriate as well as the related net interest and penalties. Net Loss per Share— Basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted average number of shares of common stock outstanding for the period. In addition, during the years ended December 31, 2022 and 2021, in accordance with the provisions of the Company’s Class B Warrants, the exercise price of each outstanding Class B Warrant was adjusted to the price of subsequent sales of common stock. Such adjustment is presented as as a deemed dividend that adjusts net loss available to common shareholders for purposes of basic earnings per share. The deemed dividend is calculated using the Black-Scholes pricing model, taking into account historical volatility of the Company’s common stock and the estimated remaining life of the outstanding Class B Warrants. Basic shares outstanding includes the weighted average effect of the Company’s outstanding prefunded warrants, the exercise of which requires little or no consideration for |