Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation The Company's consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States (“GAAP”). Any reference in these notes to applicable guidance is meant to refer to the authoritative United States generally accepted accounting principles as found in the Accounting Standards Codification (“ASC”) and Accounting Standards Updates (“ASU”) of the Financial Accounting Standards Board (“FASB”). Use of Estimates The preparation of financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and the disclosure of contingent liabilities at the date of the financial statements and the reported amounts of revenue and expenses during the reporting period. The Company bases its estimates on historical experience and other market-specific or other relevant assumptions that it believes to be reasonable under the circumstances. This process may result in actual results differing materially from those estimated amounts used in the preparation of the financial statements if these results differ from historical experience, or other assumptions do not turn out to be substantially accurate, even if such assumptions are reasonable when made. Significant estimates relied upon in preparing these financial statements include estimates related to determining our net product revenue, license revenue, accruals related to research and development expenses, assumptions used to record stock-based compensation expense, interest expense on our deferred royalty obligation, assumptions used to value the embedded derivative in our deferred royalty obligation, assumptions used to value the common stock received from RareStone Group Ltd., or RareStone, and the valuation allowance on the Company's deferred tax assets. Estimates are periodically reviewed in light of changes in circumstances, facts and experience. Changes in estimates are recorded in the period in which they become known. Actual results could differ materially from those estimates. Principles of Consolidation The consolidated financial statements include the accounts of Rhythm Pharmaceuticals, Inc. and its wholly-owned subsidiaries. All significant intercompany balances and transactions have been eliminated in consolidation. Reclassification of Prior Year Balances Certain prior year amounts have been reclassified to conform to the current period presentation. These reclassifications had no effect on the reported results of operations or cash flows. Specifically, in the consolidated balance sheet as of December 31, 2021, the Company has reclassified $111 which was previously recorded within prepaid expenses and other current assets to inventory. Additionally, in the consolidated statement of cash flows for the year ended December 31, 2021, the Company has reclassified $1,025 and $111 due to the effects of changes in the accounts receivable and inventory, respectively, from changes in prepaid expenses and other current assets to changes in accounts receivable of and inventory, respectively. Segment Information Operating segments are defined as components of an entity about which separate discrete information is available for evaluation by the chief operating decision maker, or decision-making group, in deciding how to allocate resources and in assessing performance. The Company currently operates in one business segment, which is the development and commercialization of therapies for patients with rare diseases. A single management team that reports to the Chief Executive Officer comprehensively manages the entire business. The Company does not operate separate lines of business with respect to its product or product candidates. Accordingly, the Company has one reportable segment. Off-Balance Sheet Risk and Concentrations of Credit Risk Financial instruments, which potentially subject the Company to significant concentration of credit risk, consist primarily of cash and cash equivalents and short-term investments, which are maintained at two federally insured financial institutions. The deposits held at these two institutions are in excess of federally insured limits. The Company has not experienced any losses in such accounts and management believes that the Company is not exposed to significant credit risk due to the financial position of the depository institutions in which those deposits are held. The Company has no off-balance sheet risk, such as foreign exchange contracts, option contracts, or other foreign hedging arrangements. The Company is exposed to risks associated with extending credit to customers related to the sale of products. The Company does not require collateral to secure amounts due from its customers. For the year ended December 31, 2022, approximately of all of the Company’s revenue was generated from a single customer in the United States. For the year ended December 31, 2021, all of the Company’s revenue was generated from a single customer in the United States. The Company relies on third-party manufacturers and suppliers for manufacturing and supply of its product. The inability of the suppliers or manufacturers to fulfill supply requirements of the Company could materially impact future operating results. A change in the relationship with the suppliers or manufacturer, or an adverse change in their business, could materially impact future operating results. The Company relies on separate third-parties to perform genetic testing in the United States and Europe, respectively. The inability of the vendor to fulfill testing services for the Company could materially impact future operating results and adversely impact our ability to further develop setmelanotide. A change in the relationship with the genetic testing service providers, or an adverse change in their business, could materially impact future operating results. Cash and Cash Equivalents The Company considers all highly liquid investments with remaining maturity from the date of purchase of three months or less to be cash equivalents. Cash and cash equivalents includes bank demand deposits, U.S. treasury bills and money market funds that invest primarily in U.S. government treasuries. Short-term Investments Short-term investments consist of investments with maturities greater than 90 days, as of the date of purchase. The Company has classified its investments with maturities beyond one year as short term, based on their highly liquid nature and because such marketable securities represent the investment of cash that is available for current operations. The Company considers its investment portfolio available-for-sale. Accordingly, these investments are recorded at fair value, which is based on quoted market prices. Unrealized gains and losses are reported as a component of accumulated other comprehensive income (loss) in stockholders’ equity. To the extent the amortized cost basis of the available-for-sale debt securities exceeds the fair value, management assesses the debt securities for credit loss; however, management considers the risk of credit loss to be minimized by the Company's policy of investing in financial instruments issued by highly-rated financial institutions. When assessing the risk of credit loss, management considers factors such as the severity and the reason of the decline in value (i.e., any changes to the rating of the security by a rating agency or other adverse conditions specifically related to the security) and management's intended holding period and time horizon for selling. During the years ended December 31, 2022, 2021, and 2020, the Company did not recognize any credit losses related to its available-for-sale debt securities. Further, as of December 31, 2022 and 2021, the Company did not record an allowance for credit losses related to its available-for-sale debt securities. Restricted Cash Restricted cash consists of security deposits in the form of letters of credit placed in separate restricted bank accounts as required under the terms of the Company’s lease arrangement for its corporate office in Boston, Massachusetts and the Company’s corporate travel credit card. Accounts Receivable, net Revenue Recognition The Company recognizes revenue in accordance with ASC Topic 606, Revenue from Contracts with Customers Product Revenue, Net In the United States (the “U.S.”), which accounts for the largest portion of our total revenues, the Company sells its product to a limited number of specialty pharmacies. The product is distributed through third-party logistics, or 3PL, distribution agent that does not take title to the product. Once the product is delivered to the Company’s specialty pharmacy provider, our customer in the U.S., the customer (or “wholesaler”) takes title to the product. The wholesaler then distributes the product to patients. In our distribution agreement with the 3PL company, the Company acts as principal because we retain control of the product. Internationally, we make sales primarily to specialty distributors and retail pharmacy chains, as well as hospitals, many of which are government-owned or supported. The Company generally does not offer returns of product sold to the customer. Revenue from product sales is recognized when the customer obtains control of our product, which occurs at a point in time, upon transfer of title to the customer because at that point in time we have no ongoing obligations to the customer. There are no other performance obligations besides the sale of product. We classify payments to our customers or other parties in the distribution channel for services that are distinct and priced at fair value as selling, general and administrative expenses in our consolidated statements of operations and comprehensive (loss) income. Otherwise, payments to a customer or other parties in the distribution channel that do not meet those criteria are classified as a reduction of revenue, as discussed further below. Taxes collected from the customer relating to product sales and remitted to governmental authorities are excluded from revenue. Because our payment terms are generally ninety days or less, the Company concluded there is not a significant financing component because the period between the transfer of a promised good or service to the customer and when the customer pays for that good or service will be one year or less. The Company expenses incremental costs of obtaining a contract as and when incurred since the expected amortization period of the asset that we would have recognized is one year or less. Reserves for Variable Consideration Revenues from product sales are recorded at the net sales price, or the transaction price, which includes estimates of variable consideration for which reserves are established and which result from discounts, returns, chargebacks, rebates, co-pay assistance and other allowances that are offered within contracts between us and our customers, health care providers and other indirect customers relating to the sale of IMCIVREE. These reserves are based on the amounts earned or to be claimed on the related sales and are classified as reductions of accounts receivable (if the amount is payable to the customer) or a current liability (if the amount is payable to a party other than a customer). Where appropriate, these estimates take into consideration a range of possible outcomes that are probability-weighted for relevant factors such as our historical experience, current contractual and statutory requirements, specific known market events and trends, industry data and forecasted customer buying and payment patterns. Overall, these reserves reflect our best estimates of the amount of consideration to which we are entitled based on the terms of the contract. The amount of variable consideration that is included in the transaction price may be constrained and is included in the net sales price only to the extent that it is considered probable that a significant reversal in the amount of the cumulative revenue recognized will not occur in a future period. Actual amounts of consideration ultimately received may differ from our estimates. If actual results in the future vary from our estimates, we will adjust these estimates, which would affect net product revenue and earnings in the period such variances become known. The following are the components of variable consideration related to product revenue: Chargebacks: Government rebates: Trade discounts and allowances: Product returns: Other incentives: The table below summarizes balances and activity in each of the product revenue allowance and reserve categories as follows: Provision for Cash Discounts Fees, Rebates and Other Incentives Total Beginning Balance at December 31, 2020 $ — $ — $ — Provision related to sales in the current year 74 495 569 Credit and payments made (53) (42) (95) Ending balance December 31, 2021 $ 21 $ 453 $ 474 Provision related to sales in the current year 367 3,299 3,666 Credit and payments made (289) (1,042) (1,331) Ending balance December 31, 2022 $ 99 $ 2,710 $ 2,809 Provision for cash discounts are recorded as reductions of accounts receivable, and fees, rebates, and other incentives are recorded as a component of accrued expenses. License Agreements We generate revenue from license or similar agreements with pharmaceutical companies for the development and commercialization of certain of our products and product candidates. Such agreements may include the transfer of intellectual property rights in the form of licenses, transfer of technological know-how, delivery of drug substances, research and development services, and participation on certain committees with the counterparty. Payments made by the customers may include non-refundable upfront fees, payments upon the exercise of customer options, payments based upon the achievement of defined milestones, and royalties on sales of products and product candidates if they are approved and commercialized. If a license to our intellectual property is determined to be distinct from the other performance obligations identified in the arrangement, we recognize the transaction price allocated to the license as revenue upon transfer of control of the license. We evaluate all other promised goods or services in the agreement to determine if they are distinct. If they are not distinct, they are combined with other promised goods or services to create a bundle of promised goods or services that is distinct. Optional future services where any additional consideration paid to us reflects their standalone selling prices do not provide the customer with a material right and, therefore, are not considered performance obligations. If optional future services are priced in a manner which provides the customer with a significant or incremental discount, they are material rights, and are accounted for as separate performance obligations. We utilize judgment to determine the transaction price. In connection therewith, we evaluate contingent milestones at contract inception to estimate the amount which is not probable of a material reversal to include in the transaction price using the most likely amount method. Milestone payments that are not within our control, such as regulatory approvals, are not considered probable of being achieved until those approvals are received and therefore the variable consideration is constrained. The transaction price is then allocated to each performance obligation on a relative stand-alone selling price basis, for which we recognize revenue as or when the performance obligations under the contract are satisfied. At the end of each reporting period, we re-evaluate the probability of achieving development milestone payments that may not be subject to a material reversal and, if necessary, adjust our estimate of the overall transaction price. Any such adjustments are recorded on a cumulative catch-up basis, which would affect license and other revenue, as well as earnings, in the period of adjustment. We then determine whether the performance obligations or combined performance obligations are satisfied over time or at a point in time and, if over time, the appropriate method of measuring progress for purposes of recognizing revenue from non-refundable, upfront fees. We evaluate the measure of progress, as applicable, for each reporting period and, if necessary, adjust the measure of performance and related revenue recognition. When consideration is received, or such consideration is unconditionally due, from a customer prior to transferring goods or services to the customer under the terms of a contract, a contract liability is recorded within deferred revenue. Contract liabilities within deferred revenue are recognized as revenue after control of the goods or services is transferred to the customer and all revenue recognition criteria have been met. For arrangements that include sales-based royalties, including sales-based milestone payments, and a license of intellectual property that is deemed to be the predominant item to which the royalties relate, we recognize revenue at the later of when the related sales occur or when the performance obligation to which some or all of the royalties have been allocated has been satisfied (or partially satisfied). Refer to Note 9 “Significant Agreements”, for discussion related to the Company’s accounting for the RareStone Group, Ltd. agreement. Deferred Royalty Obligation We treat the debt obligation to HealthCare Royalty Management, LLC as discussed further in Note 10, “Long-term Obligations”, as a deferred royalty obligation, amortized using the effective interest rate method over the estimated life of the revenue streams. We recognize interest expense thereon using the effective rate, which is based on our current estimates of future revenues over the life of the arrangement. In connection therewith, we periodically assess our expected revenues using internal projections, impute interest on the carrying value of the deferred royalty obligation, and record interest expense using the imputed effective interest rate. To the extent our estimates of future revenues are greater or less than previous estimates or the estimated timing of such payments is materially different than previous estimates, we will account for any such changes by adjusting the effective interest rate on a prospective basis, with a corresponding impact to the reclassification of our deferred royalty obligation. The assumptions used in determining the expected repayment term of the deferred royalty obligation and amortization period of the issuance costs requires that we make estimates that could impact the classification of such costs, as well as the period over which such costs will be amortized. Inventory Prior to receiving approval from the FDA in November 2020 to sell IMCIVREE in the United States, the Company expensed all costs incurred related to the manufacture of IMCIVREE as research and development expense because of the inherent risks associated with the development of a drug candidate, the uncertainty about the regulatory approval process and the lack of history for the Company of regulatory approval of drug candidates. Subsequent to receiving FDA approval in November 2020, the Company has capitalized a nominal amount of inventory related costs that were incurred subsequent to FDA approval. In connection therewith, the Company values inventories at the lower of cost or estimated net realizable value. The Company determines the cost of inventories, which includes amounts related to materials and manufacturing overhead, on a first-in, first-out basis. Raw materials and work in process includes all inventory costs prior to packaging and labelling, including raw materials, active pharmaceutical ingredient, and drug product. Finished goods include packaged and labelled products. Raw materials and work in process that may be used for either research and development or commercial sale are classified as inventory until the material is consumed or otherwise allocated for research and development. If the material is intended to be used for research and development, it is expensed as research and development once that determination is made. Inventory consists of the following: December 31, December 31, 2022 2021 Raw Materials $ 2,722 $ — WIP — — Finished Goods 195 111 Total Inventory $ 2,917 $ 111 Cost of Product Sales adjustment charges. Finally, cost of sales may also include costs related to excess or obsolete inventory adjustment charges, abnormal costs, unabsorbed manufacturing and overhead costs, and manufacturing variances. Intangible Assets, net Definite-lived intangible assets related to capitalized milestones under license agreements are amortized on a straight-line basis over their remaining useful lives, which are estimated to be the remaining patent life. If our estimate of the product’s useful life is shorter than the remaining patent life, then a shorter period is used. Amortization expense is recorded as a component of cost of sales on the consolidated statements of operations and comprehensive loss. Impairment of Long-Lived Assets The Company evaluates its long-lived assets, which consist primarily of property and equipment and finite lived intangible assets, for impairment whenever events or changes in circumstances indicate that the carrying amount of such assets may not be 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. The Company measures recoverability of assets to be held and used by comparing the carrying amount of an asset to the future undiscounted net cash flows expected to be generated by the asset. If such assets are considered to be impaired, the Company measures the impairment to be recognized by the amount by which the carrying amount of the asset exceeds the fair value of the asset, less the cost to sell. No events or changes in circumstances existed to require an impairment assessment during the years ended December 31, 2022, 2021 and 2020. Prepaid Expenses and Other Current Assets Prepaid expenses and other current assets consist primarily of costs incurred in advance of services being received, including services related to clinical trial programs. Prepaid expenses and other current assets consists of the following: December 31, 2022 2021 Prepaid research and development costs $ 4,392 $ 8,404 Other current assets 7,415 3,992 Prepaid expenses and other current assets $ 11,807 $ 12,396 Property and Equipment Property and equipment consists of the following: Useful December 31, Life 2022 2021 Leasehold improvements * $ 2,705 $ 2,705 Office equipment 5 years 107 107 Computers and software 3 years 1,291 1,010 Furniture, fixtures and equipment 5 years 1,249 1,249 5,352 5,071 Less accumulated depreciation and amortization (3,155) (2,258) Property and equipment, net $ 2,197 $ 2,813 * Depreciation and amortization expense related to property and equipment for the years ended December 31, 2022, 2021 and 2020 was $896, $816, and $690, respectively. Property and equipment are recorded at cost. Depreciation and amortization is calculated using the straight-line method over the estimated useful lives of the assets. Upon disposal, retirement or sale, the cost of assets disposed of and the related accumulated depreciation are removed from the accounts and any resulting gain or loss is included in the results of operations. Expenditures for repairs and maintenance that do not improve or extend the lives of the respective assets are charged to expense as incurred. Fair Value Measurements Fair value is the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. Financial assets and liabilities carried at fair value are classified and disclosed in one of the following three categories: Level 1 — Quoted market prices in active markets for identical assets or liabilities. Level 2 — Observable inputs other than Level 1 prices, such as quoted prices for similar assets or liabilities; quoted prices in markets that are not active; or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 — Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities. The Company’s cash equivalents and marketable securities and derivative liability at December 31, 2022 and 2021 were carried at fair value, determined according to the fair value hierarchy. See Note 4 for further discussion. The carrying amounts reflected in the consolidated balance sheets for accounts payable and accrued expenses approximate their fair values due to their short-term maturities at December 31, 2022 and 2021, respectively. Research and Development Expenses Costs incurred in the research and development of the Company’s products are expensed to operations as incurred. Research and development expenses consist of costs incurred in performing research and development activities, including salaries and benefits, facilities costs, overhead costs, contract services and other outside costs. The value of goods and services received from contract research organizations, or CROs, or contract manufacturing organizations, or CMOs, in the reporting period are estimated based on the level of services performed and progress in the period for which the Company has not yet received an invoice from the supplier. When evaluating the adequacy of the accrued liabilities, the Company analyzes progress of the studies or clinical trials, including the phase or completion of events, invoices received and contracted costs. Significant judgments and estimates are made in determining the accrued balances at the end of any reporting period. Actual results could differ from the Company’s estimates. The Company’s historical accrual estimates have not been materially different from the actual costs. Nonrefundable advance payments for goods or services to be received in the future for use in research and development activities are recorded as prepaid expenses, and expensed as the related goods are delivered or the services are performed. Income Taxes The Company is taxed as a C corporation for federal income tax purposes. Income taxes for the Company are recorded in accordance with FASB ASC Topic 740, Income Taxes The Company accounts for income taxes under 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 included in the financial statements. Under this method, the Company determines deferred tax assets and liabilities on the basis of the differences between the financial statement and tax bases of assets and liabilities by using enacted tax rates in effect for the year in which the differences are expected to reverse. The effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date. The Company recognizes deferred tax assets to the extent that it believes that these assets are more likely than not to be realized. In making such a determination, the Company considers all available positive and negative evidence, including future reversals of existing taxable temporary differences, projected future taxable income, tax-planning strategies, and results of recent operations. If the Company determines that it would be able to realize its deferred tax assets in the future in excess of their net recorded amount, it would make an adjustment to the deferred tax asset valuation allowance, which would reduce the provision for income taxes. The Company records uncertain tax positions in accordance with ASC 740 on the basis of a two-step process in which (1) it determines whether it is more likely than not that the tax positions will be sustained on the basis of the technical merits of the position and (2) for those tax positions that meet the more-likely-than-not recognition threshold, the Company recognizes the largest amount of tax benefit that is more than 50% likely to be realized upon ultimate settlement with the related tax authority. The Company recognizes interest and penalties related to unrecognized tax benefits on the income tax expense line in the accompanying consolidated statements of operations. As of December 31, 2022 and 2021, no accrued interest or penalties are included on the related tax liability line in the consolidated balance sheets. Net Loss Per Share Basic net loss per share is computed by dividing net loss by the weighted-average number of common shares outstanding during the period, without consideration of potential dilutive securities. Diluted net loss per share is computed by adjusting the weighted-average shares outstanding for the potential dilutive effects of common stock equivalents outstanding during the period calculated in accordance with the treasury stock method. For purposes of the diluted net loss per share calculation, stock options, restricted stock units and performance stock units are considered to be common stock equivalents but have been excluded from the calculation of diluted net loss per share, as their effect would be anti-dilutive for all periods presented. Therefore, basic and diluted net loss per share were the same for all periods presented. The following table includes the potential common shares, presented based on amounts outstanding at each period end, that were excluded from the computation of diluted net loss per share due to their anti-dilutive effect, for the periods indicated: Year Ended December 31, 2022 2021 2020 Stock options 6,354,544 5,737,599 5,199,235 Restricted stock units 774,166 435,589 176,537 Performance stock units 804,797 956,145 — Potential common shares 7,933,507 7,129,333 5,375,772 Comprehensive Loss Comprehensive loss represents the net change in stockholders’ equity during a period from sources other than transactions with shareholders. As reflected in the accompanying consolidated statements of operations and comprehensive loss, our comprehensive loss is comprised of net losses and unrealized gains and losses on marketable debt securities. These changes in equity are reflected net of tax. Patent Costs Costs to secure and defend patents are expensed as incurred and are classified as general and administrative expenses. Patent costs were $406, $332 and $524 for the years ended December 31, 2022, 2021 and 2020, respectively. Subsequent Events The Company considers events or transactions that occur after the balance sheet date but prior to the issuance of the financial statements to provide additional evidence for certain estimates or to identify matters that require additional disclosure. Subsequent events have been evaluated as required. See Note 15. Application of New or Revised Accounting Standards From time to time, new accounting pronouncements are issued by the FASB and adopted by the Company as of the specified effective date. Unless otherwise discussed, the Company believes that the impact of recently issued standards that are not yet effective will not have a material impact on its financial position or results of operations upon adoption. We have not been required to adopt any accounting standards that had a significant impact on our consolidated financial statements in the three years ended December 31, 2022. We do not expect any recently issued accounting standards to have a significant impact on our consolidated financial statements. |