Summary of Significant Accounting Policies | SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Basis of Presentation The accompanying financial statements have been prepared in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”). Prior Period Errors In connection with our review of our financial statements as of and for the six months ended June 30, 2019, we corrected errors related to the accounting for clinical trial accruals that had resulted in an overstatement of research and development expenses during the year ended December 31, 2018. Specifically, management concluded that our research and development expenses recorded during the year ended December 31, 2018 had been overstated by $3.6 million and that our accrued expenses and other current liabilities as of December 31, 2018 had been overstated by the same amount. We analyzed the potential impact of these errors in accordance with the U.S. Securities and Exchange Commission’s (“SEC”) Staff Accounting Bulletin No. 108, Considering the Effects of Prior Year Misstatements when Quantifying Misstatements in Current Year Financial Statements, and concluded that while the errors were significant to our financial statements as of and for the six months ended June 30, 2019, a correction of the errors would not have been material to the full year results for 2019 and 2018 nor affect the trend of financial results. Accordingly, we reduced accrued and other liabilities by $3.6 million and recorded a cumulative adjustment of $3.6 million in the statement of operations and comprehensive loss to reduce research and development expenses in 2019. Use of Estimates The preparation of financial statements in conformity with U.S. GAAP requires management to make estimates and judgments that affect the amounts reported in the financial statements and accompanying notes. On an ongoing basis, management evaluates its estimates, including those related to recognition of revenue, clinical trial accruals, contract manufacturing accruals, fair value of assets and liabilities, income taxes and stock-based compensation. Management bases its estimates on historical experience and on various other market-specific and relevant assumptions that management believes to be reasonable under the circumstances. Actual results could materially differ from those estimates. Liquidity As of December 31, 2021, we had cash and investments of approximately $116.7 million. We have incurred operating losses since inception and our accumulated deficit as of December 31, 2021 is $712.9 million. Our current level of cash and investments alone is not sufficient to meet our plans for the next twelve months following the issuance of these financial statements. These factors raise substantial doubt regarding our ability to continue as a going concern for a period of one year from the issuance of these financial statements. We plan to address our operating cash flow requirements with our current cash and investments, cash generated from the product launch of IBSRELA, our potential receipt of anticipated milestones from our collaboration partners, our ability to access the capital markets, as well as through the implementation of cash preservation activities to reduce or defer discretionary spending. There are no assurances that our efforts to meet our operating cash flow requirements will be successful. If our current cash and investments as well as our plans to meet our operating cash flow requirements are not sufficient to fund necessary expenditures and meet our obligations for at least the next twelve months following the issuance of these financial statements, our liquidity, financial condition and business prospects will be materially affected. These financial statements have been prepared on a going concern basis and do not include any adjustments to the amounts and classification of assets and liabilities that may be necessary in the event that we can no longer continue as a going concern. Cash and Cash Equivalents We consider all highly liquid investments purchased with an original maturity date of 90 days or less on the date of purchase to be cash equivalents. Short-Term Investments Short-term investments consist of debt securities classified as available-for-sale and have maturities greater than 90 days, but less than one year, from the date of acquisition. Short-term investments are carried at fair value based upon quoted market prices. Unrealized gains and losses on available-for-sale securities are included in earnings and are reported as an allowance for credit losses on our Balance Sheets. The cost of available-for-sale securities sold is based on the specific-identification method. Concentration of Credit Risk Financial instruments that potentially subject us to significant concentrations of credit risk consist primarily of cash, cash equivalents, short-term investments and accounts receivable. We are exposed to credit risks in the event of default by the counterparties to the extent of the amount recorded in its balance sheet. Cash, cash equivalents and short-term investments are invested through banks and other financial institutions in the U.S. Foreign Currency We manage our foreign currency exposures with the use of foreign currency purchases. We primarily conduct business in U.S. dollars; however, a portion of our expense and capital activities are transacted in foreign currencies which are subject to exchange rate fluctuations that can affect cash or earnings. We have been in a loss position and therefore our primary objective is to conserve and manage cash. There are generally two methods by which we may manage the cash flow risk of foreign exchange fluctuations when a contract is signed (i) we can purchase the foreign funds, in full or in part, upon the execution of the contract, or (ii) we can obtain the right to purchase such funds, in full or in part, at the execution of the contract, i.e., obtain a forward contract from an appropriate bank, that can be exercised to obtain the currency of interest at a particular point in time. The derivative instruments that we may use to hedge the exposure shall generally not be designated as cash flow hedges, and as a result, changes in their fair value would be recorded in other income (expense), net, in our statements of operations and comprehensive loss. The fair values of forward foreign currency exchange contracts would be estimated using current exchange rates and interest rates and the current creditworthiness of the counterparties is taken into consideration. Property and Equipment Property and equipment are stated at cost, less accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful lives of the respective assets, with ranges generally from three Impairment of Long-Lived Assets The carrying value of long-lived assets, including property and equipment, are reviewed for impairment whenever events or changes in circumstances indicate that the asset may not be recoverable. An impairment loss is recognized when the total of estimated future undiscounted cash flows, expected to result from the use of the asset and its eventual disposition, are less than the asset’s carrying amount. Impairment, if any, would be assessed using discounted cash flows or other appropriate measures of fair value. For the years ending December 31, 2021, 2020 and 2019 we have recognized no impairment losses. Income Taxes We use the asset and liability method of accounting for income taxes. Under this method, deferred tax assets and liabilities are determined based on the differences between the financial reporting and the tax bases of assets and liabilities and are measured using the enacted tax rates and laws that will be in effect when the differences are expected to reverse. A valuation allowance is provided when it is more likely than not that some portion or all of a deferred tax asset will not be realized. Revenue Recognition On January 1, 2018 we adopted the Financial Accounting Standards Board’s (“FASB”) Accounting Standards Update (“ASU”) No. 2014-9, Revenue from Contracts with Customers (Topic 606) and related amendments (“ASC 606”), on a modified retrospective basis, which resulted in an adjustment to the opening accumulated deficit balance on the adoption date. As a result of the adoption of the new standard, on January 1, 2018, we recorded the following: (i) unbilled revenue under current assets of $5.0 million representing a future receivable related to the first milestone under our license agreement with Kyowa Kirin Co., Ltd. (formerly known as Kyowa Hakko Kirin Co., Ltd ("KHK") (“KKC”), which was subsequently achieved by KKC and collected in February 2019, thereby reducing the unbilled revenue balance to zero, (ii) uncharged license fees under current liabilities of $1.0 million representing the corresponding future payable related to AstraZeneca AB ("AstraZeneca") in accordance with our termination agreement with AstraZeneca, which, upon KKC achieving the milestone, was reclassified to accounts payable and subsequently paid to AstraZeneca during the second quarter of 2019, and (iii) a related decrease in accumulated deficit of approximately $4.0 million as the new standard permitted revenue from milestones that possess certain criteria to be recognized earlier and also contained different recognition criteria related to milestones than under the previous accounting standard. We generate revenue primarily from research and collaboration and license agreements with customers. Goods and services in the agreements may include the grant of licenses for the use of our technology, the provision of services associated with the research and development of product candidates, manufacturing services, and participation in joint steering committees. The terms of these arrangements typically include payment to us of one or more of the following: non-refundable, up-front license fees; research, development, regulatory and commercial milestone payments; reimbursement of research and development services; option payments; reimbursement of certain costs; payments for manufacturing supply services; and future royalties on net sales of licensed products. When two or more contracts are entered into with the same customer at or near the same time, we evaluate the contracts to determine whether the contracts should be accounted for as a single arrangement. Contracts are combined and accounted for as a single arrangement if one or more of the following criteria are met: (i) the contracts are negotiated as a package with a single commercial objective; (ii) the amount of consideration to be paid in one contract depends on the price or performance of the other contract; or (iii) the goods or services promised in the contracts (or some goods or services promised in each of the contracts) are a single performance obligation. In determining the appropriate amount of revenue to be recognized as we fulfill our obligations under each of its agreements, management performs the following steps: (i) identification of the promised goods or services in the contract; (ii) determination of whether the promised goods or services are performance obligations including whether they are distinct in the context of the contract; (iii) measurement of the transaction price, including the constraints on variable consideration; (iv) allocation of the transaction price to the performance obligations; and (v) recognition of revenue when (or as) we satisfy each performance obligation. As part of the accounting for contracts with customers, we develop assumptions that require judgment to determine whether promised goods and services represent distinct performance obligations and the standalone selling price for each performance obligation identified in the contract. This evaluation is subjective and requires us to make judgments about the promised goods and services and whether those goods and services are separable from other aspects of the contract. Further, determining the standalone selling price for performance obligations requires significant judgment, and when an observable price of a promised good or service is not readily available, we consider relevant assumptions to estimate the standalone selling price, including, as applicable, market conditions, development timelines, probabilities of technical and regulatory success, reimbursement rates for personnel costs, forecasted revenues, potential limitations to the selling price of the product and discount rates. We apply judgment in determining whether a combined performance obligation is satisfied at a point in time or over time, and, if over time, concluding upon the appropriate method of measuring progress to be applied for purposes of recognizing revenue. We evaluate the measure of progress each reporting period and, as estimates related to the measure of progress change, related revenue recognition is adjusted accordingly. Changes in our estimated measure of progress are accounted for prospectively as a change in accounting estimate. We recognize collaboration revenue by measuring the progress toward complete satisfaction of the performance obligation using an input measure. In order to recognize revenue over the research and development period, we measure actual costs incurred to date compared to the overall total expected costs to satisfy the performance obligation. Revenues are recognized as the program costs are incurred. We will re-evaluate the estimate of expected costs to satisfy the performance obligation each reporting period and make adjustments for any significant changes. Amounts received prior to satisfying the revenue recognition criteria are recorded as contract liabilities in our Balance Sheets. If the related performance obligation is expected to be satisfied within the next twelve months it will be classified in current liabilities. Amounts recognized as revenue prior to receipt are recorded as contract assets in our Balance Sheets. If we expect to have an unconditional right to receive the consideration in the next twelve months, it will be classified in current assets. A net contract asset or liability is presented for each contract with a customer. Milestone Payments: At the inception of each arrangement that includes development milestone payments, we evaluate whether the milestones are considered probable of being reached and estimates the amount to be included in the transaction price using the most likely amount method. Amounts of variable consideration are included in the transaction price to the extent that it is probable that a significant reversal in the amount of cumulative revenue recognized will not occur and when the uncertainty associated with the variable consideration is subsequently resolved. Milestone payments that are not within our control or the control of the licensee, such as regulatory approvals, are not considered probable of being achieved until those approvals are received. The transaction price is then allocated to each performance obligation on a relative standalone selling price basis, for which we recognize revenue as or when the performance obligations under the contract are satisfied. At the end of each subsequent reporting period, we re-evaluate the probability of achievement of such development milestones and any related constraints, 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 earnings in the period of adjustment. Manufacturing supply services: Arrangements that include a promise for future supply of drug substance or drug product for either clinical development or commercial supply at the customer’s discretion are generally considered as options. We assess if these options provide a material right to the licensee and if so, they are accounted for as separate performance obligations. If we are entitled to additional payments when the customer exercises these options, any payments are recorded in product supply revenue when the customer obtains control of the goods, which is upon delivery. Royalties: For arrangements that include sales-based royalties, including milestone payments based on the level of sales, and where the license is deemed to be the predominant item to which the royalties relate, we recognize revenue at the later of (i) when the related sales occur, or (ii) when the performance obligation to which some or all of the royalty has been allocated has been satisfied (or partially satisfied). To date, we have not recognized any royalty revenue resulting from any of its licensing arrangements. Licenses of intellectual property: If a license granted to a customer to use our intellectual property is determined to be distinct from the other performance obligations identified in the arrangement, we recognize revenue from consideration allocated to the license when the license is transferred to the licensee and the licensee is able to use and benefit from the license. For licenses that are bundled with other promises, we apply judgment to assess the nature of the combined performance obligation to determine whether the combined performance obligation is satisfied over time or at a point in time and, if over time, to conclude upon the appropriate method of measuring progress for purposes of recognizing revenue related to consideration allocated to the performance obligation. Options: Customer options, such as options granted to allow a licensee to choose to research, develop and commercialize licensed compounds are evaluated at contract inception in order to determine whether those options provide a material right (i.e., an optional good or service offered for free or at a discount) to the customer. If the customer options represent a material right, the material right is treated as a separate performance obligation at the outset of the arrangement. The Company allocates the transaction price to material rights based on the standalone selling price, and revenue is recognized when or as the future goods or services are transferred or when the option expires. Customer options that are not material rights do not give rise to a separate performance obligation, and as such, the additional consideration that would result from a customer exercising an option in the future is not included in the transaction price for the current contract. Instead, the option is deemed a marketing offer, and additional option fee payments are recognized or being recognized as revenue when the licensee exercises the option. The exercise of an option that does not represent a material right is treated as a separate contract for accounting purposes. Contract modifications: Contract modifications, defined as changes in the scope or price (or both) of a contract that are approved by the parties to the contract, such as a contract amendment, exist when the parties to a contract approve a modification that either creates new or changes existing enforceable rights and obligations of the parties to the contract. Depending on facts and circumstances, we account for a contract modification as one of the following: (i) a separate contract; (ii) a termination of the existing contract and a creation of a new contract; or (iii) a combination of the preceding treatments. A contract modification is accounted for as a separate contract if the scope of the contract increases because of the addition of promised goods or services that are distinct and the price of the contract increases by an amount of consideration that reflects our standalone selling prices of the additional promised goods or services. When a contract modification is not considered a separate contract and the remaining goods or services are distinct from the goods or services transferred on or before the date of the contract modification, we account for the contract modification as a termination of the existing contract and a creation of a new contract. When a contract modification is not considered a separate contract and the remaining goods or services are not distinct, we account for the contract modification as an add-on to the existing contract and as an adjustment to revenue on a cumulative catch-up basis. We receive payments from its licensees as established in each contract. Upfront payments and fees are recorded as deferred revenue upon receipt or when due and may require deferral of revenue recognition to a future period until we perform our obligations under these arrangements. Where applicable, amounts are recorded as accounts receivable or unbilled revenue when our right to consideration is unconditional. We do not assess whether a contract with a customer has a significant financing component if the expectation at contract inception is such that the period between payment by the licensees and the transfer of the promised goods or services to the licensees will be one year or less. Research and Development Costs Research and development costs are charged to expense as incurred and consisted of costs incurred to further our research and development activities and include salaries and related employee benefits, costs associated with clinical trials, costs related to pre-commercialization manufacturing activities such as manufacturing process validation activities and the manufacturing of clinical drug supply, nonclinical research and development activities, regulatory activities, research-related overhead expenses and fees paid to external service providers and contract research and manufacturing organizations that conduct certain research and development activities on our behalf. Accrued Research and Development Expenses We are required to estimate our accrued expenses at the end of each reporting period. This process involves reviewing open contracts and purchase orders, communicating with our personnel to identify services that have been performed on our behalf and estimating the level of service performed and the associated cost incurred for the service when we have not yet been invoiced or otherwise notified of the actual costs. The majority of our service providers submit invoices in arrears for services performed or when contractual milestones are met. We make estimates of our accrued expenses as of each balance sheet date in the financial statements based on facts and circumstances known to us at that time. We periodically confirm the accuracy of our estimates with our service providers and make adjustments if necessary. Examples of estimated accrued research and development expenses include fees paid to: • contract research organizations ("CROs") in connection with clinical studies; • investigative sites in connection with clinical studies; • vendors related to product manufacturing, development and distribution of clinical supplies; and • vendors in connection with preclinical development activities. We record expenses related to clinical studies and manufacturing development activities based on our estimates of the services received and efforts expended pursuant to contracts with multiple CROs and manufacturing vendors that conduct and manage these activities on our behalf. The financial terms of these agreements are subject to negotiation, vary from contract to contract, and may result in uneven payment flows. There may be instances in which payments made to our vendors will exceed the level of services provided and result in a prepayment of the expense. Payments under some of these contracts depend on factors such as the successful enrollment of subjects and the completion of clinical trial milestones. In accruing service fees, we estimate the time period over which services will be performed, enrollment of subjects, number of sites activated and the level of effort to be expended in each period. If the actual timing of the performance of services or the level of effort varies from our estimate, we will adjust the accrued or prepaid expense balance accordingly. Inventory We consider regulatory approval of product candidates to be uncertain, and product manufactured prior to regulatory approval may not be sold unless regulatory approval is obtained. We expense manufacturing costs for product candidates incurred prior to regulatory approval as research and development expenses as manufacturing processes are performed. If and when regulatory approval of a product is obtained and we have plans to commercially launch the approved product, we begin capitalizing manufacturing costs related to the approved product into inventory. Although we received approval of IBSRELA (tenapanor) for the treatment of IBS-C in adults from the Food and Drug Administration (“FDA”) in September 2019, we did not plan to launch IBSRELA commercially at that time and, therefore, continued to expense manufacturing costs of tenapanor, which is also under development for another indication that has not received FDA approval. On November 30, 2021, we made the decision and announced our plans to commercially launch IBSRELA and as a result, in December 2021 we began to capitalize the costs of manufacturing processes associated with IBSRELA as those processes are completed. No manufacturing processes related to IBSRELA were completed in December, resulting in no inventory balance at December 31, 2021. Stock-Based Compensation We recognize compensation expense for all stock-based payment awards made to employees, nonemployees and directors based on estimated fair values. For employee and nonemployee stock options, we determine the grant date fair value of the awards using the Black-Scholes option-pricing model and generally recognizes the fair value as stock-based compensation expense on a straight-line basis over the vesting period of the respective awards. For restricted stock and performance-based restricted stock, to the extent they are probable, the compensation cost for these awards is based on the closing price of our common stock on the date of grant and recognized as compensation expense on a straight-line basis over the requisite service period. Stock-based compensation expense is based on the value of the portion of stock-based payment awards that is ultimately expected to vest. As such, our stock-based compensation is reduced for the estimated forfeitures at the date of grant and revised, if necessary, in subsequent periods if actual forfeitures differ from those estimates. Derivatives and Hedging Activities We account for our derivative instruments as either assets or liabilities on the balance sheet and measure them at fair value. Derivatives are adjusted to fair value through other income (expense), net in the statements of operations and comprehensive loss. Leases We determine if an arrangement is a lease at the inception of the arrangement. Operating leases are included in right-of-use assets, current portion of operating lease liability, and operating lease liability, net of current portion in our balance sheets. Right-of-use assets represent our right to use an underlying asset for the lease term and lease liabilities represent our obligation to make lease payments arising from the lease. Operating lease right-of-use assets and liabilities are recognized at the lease commencement date based on the present value of lease payments over the lease term. In determining the present value of lease payments, we use our incremental borrowing rate based on the information available at the lease commencement date. The operating lease right-of-use assets also include any lease payments made and exclude lease incentives. Our lease terms may include options to extend or terminate the lease when it is reasonably certain that we will exercise any such options. Lease expense is recognized on a straight-line basis over the expected lease term. We have elected not to separate lease and non-lease components, such as common area maintenance charges, and instead it accounts for these as a single lease component. Restructuring We recognize restructuring charges related to reorganization plans that have been committed to by management when liabilities have been incurred. In connection with these activities, we record restructuring charges at fair value for, (a) contractual employee termination benefits when obligations are associated to services already rendered, rights to such benefits have vested, and payment of benefits is probable and can be reasonably estimated, (b) one-time employee termination benefits when management has committed to a plan of termination, the plan identifies the employees and their expected termination dates, the details of termination benefits are complete, it is unlikely changes to the plan will be made or the plan will be withdrawn and communication to such employees has occurred, and (c) contract termination costs when a contract is terminated before the end of its term. One-time employee termination benefits are recognized in their entirety when communication has occurred and future services are not required. If future services are required, the costs are recorded ratably over the remaining period of service. Contract termination costs to be incurred over the remaining contract term without economic benefit are recorded in their entirety when the contract is canceled. Net Loss per Share Basic net loss per common share is calculated by dividing the net loss by the weighted-average number of common shares outstanding during the period, without consideration of potential common shares. Diluted net loss per common share in the periods presented is the same as basic net loss per common share, since the effects of potentially dilutive securities are antidilutive due to the net loss for all periods presented. Recent Accounting Pronouncements New Accounting Pronouncements - Recently Adopted In December 2019, as part of its initiative to reduce complexity in the accounting standards, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2019-12, Income Taxes (Topic 740): Simplifying the Accounting for Income Taxes (“ASU 2019-12”), which eliminates certain exceptions related to the approach for intra-period tax allocation, the methodology for calculating income taxes in an interim period and the recognition of deferred tax liabilities for outside basis differences. ASU 2019-12 also clarifies and simplifies other aspects of the accounting for income taxes. The standard is effective for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2020, with early adoption permitted. We early adopted ASU 2019-12 on April 1, 2020 and this adoption had no material impact on our financial position or results of operations. We adopted Accounting Standards Update 2016-13, Financial Instruments - Credit Losses: Measurement of Credit Losses on Financial Instruments ("ASU 2016-13"), as of December 1, 2021 under the modified retrospective approach. ASU 2016-13 requires an entity to measure and recognize expected credit losses for certain financial instruments, including trade receivables, as an allowance that reflects the entity's current estimate of credit losses expected to be incurred. For available-for-sale debt securities with unrealized credit losses, the standard requires allowances to be recorded through net income instead of directly reducing the amortized cost of the investment under the previous other-than-temporary impairment model. The adoption of this standard did not have a material impact on our financial statements or a significant impact on our internal controls. Recent Accounting Pronouncements Not Yet Adopted There were various accounting standards and interpretations issued recently, none of which are expected to a have a material impact on our financial position, operations or cash flows. |