SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES | SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES A summary of the significant accounting policies applied in the preparation of the accompanying consolidated financial statements follows: Principles of Consolidation The consolidated financial statements represent the consolidation of the accounts of the Company and its subsidiaries in conformity with accounting principles generally accepted in the United States ("U.S. GAAP"). All intercompany accounts and transactions have been eliminated in consolidation. Use of Estimates In preparing financial statements in conformity with U.S. GAAP, management is required to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the financial statements, as well as the reported amounts of expenses during the reporting period. Due to inherent uncertainty involved in making estimates, actual results reported in future periods may be affected by changes in these estimates. On an ongoing basis, the Company evaluates its estimates and assumptions. These estimates and assumptions include revenue recognition, valuing equity securities in share-based payments, estimating expenses of contracted research organizations, estimating fair value of equity instruments recorded as derivative liabilities, estimating the fair value of net assets acquired in business combinations, estimating the useful lives of depreciable and amortizable assets, goodwill impairment, estimating the fair value of contingent consideration, estimating of valuation allowances and uncertain tax positions, and estimates associated with the assessment of impairment for long lived assets. Revenue Recognition Product sales for the year ended December 31, 2017 and 2016 consisted of sales of Chenodal, Cholbam and Thiola. Product sales for the year ended December 31, 2015 consisted of sales of Chenodal, Thiola and Vecamyl (divested in 2015). Revenue from product sales is recognized when persuasive evidence of an arrangement exists, title to product and associated risk of loss have passed to the customer, the price is fixed or determinable, collection from the customer is reasonably assured, the Company has no further performance obligations, and returns can be reasonably estimated. The Company sells in the United States and Canada through a direct-to-patient distributor. Under this distribution model, the Company records revenues when customers take title of the product. The Company sells Kolbam internationally, and these revenues are immaterial when taken in consideration of the financial statements as a whole. Revenue from product sales is recorded net of applicable provisions for rebates under government (including medicaid) programs, commercial rebates, prompt pay discounts, and other sales-related deductions. We review our estimates of rebates and other applicable provisions each period and record any necessary adjustments in the current period. Deductions from Revenue Government Rebates: The Company estimates the rebates that we will be obligated to provide to government programs and deducts these estimated amounts from our gross product sales at the time the revenues are recognized. Allowances for government rebates and discounts are established based on actual payer information, which is reasonably estimated at the time of delivery, and the government-mandated discounts applicable to government-funded programs. Rebate discounts are included in other current liabilities in the accompanying consolidated balance sheets. Commercial Rebates: The Company estimates the rebates that we incur due to contracts with certain commercial payors and deducts these estimated amounts from our gross product sales at the time the revenues are recognized. Allowances for commercial rebates are established based on actual payer information, which is reasonably estimated at the time of delivery. Rebate discounts are included in other current liabilities in the accompanying consolidated balance sheets. Prompt Pay Discounts: The Company offers discounts to certain customers for prompt payments. The Company accrues for the estimated prompt pay discount based on the gross amount of each invoice for those customers at the time of sale. Product Returns: Consistent with industry practice, the Company offers its customers a limited right to return product purchased directly from the Company, which is principally based upon the product’s expiration date. Generally, shipments are only made upon a patient prescription thus returns are minimal. Research and Development Costs Research and development includes expenses related to sparsentan, fosmetpantotenate and our other pipeline programs. We expense all research and development costs as they are incurred. Our research and development costs are comprised of salaries and bonuses, benefits, non-cash share based compensation, license fees, milestones under license agreements, costs paid to third-party contractors to perform research, conduct clinical trials, and develop drug materials and delivery devices, and associated overhead expenses and facilities costs. Reimbursed research and development costs under collaborative arrangements are recorded as a reduction to research and development costs. We charge direct internal and external program costs to the respective development programs. We also incur indirect costs that are not allocated to specific programs because such costs benefit multiple development programs and allow us to increase our pharmaceutical development capabilities. These consist of internal shared resources related to the development and maintenance of systems and processes applicable to all of our programs. Clinical trial costs are a significant component of research and development expenses and include costs associated with third-party contractors, and clinical research organizations (“CRO’s"). Invoicing from third-party contractors for services performed can lag several months. We accrue the costs of services rendered in connection with third-party contractor activities based on our estimate of management fees, and costs associated with site monitoring and data management. Employee Stock-Based Compensation The Company recognizes all employee share-based compensation as a cost in the financial statements. Equity-classified awards principally related to stock options, restricted stock units (“RSUs”) and performance stock units ("PSUs"), are measured at the grant date fair value of the award. The Company determines grant date fair value of stock option awards using the Black-Scholes option-pricing model. The fair value of RSUs are determined using the closing price of the Company’s common stock on the grant date. For service based vesting grants, expense is recognized over the requisite service period based on the number of options or shares expected to ultimately vest. For PSUs, expense is recognized over the implicit service period, assuming vesting is probable. No expense is recognized for PSUs if it is not probable the vesting criteria will be satisfied. Forfeitures are accounted for as they occur. Initial Vesting Term Stock Options 3 to 4 years Restricted Stock Units 2 to 3 years Earnings (Loss) Per Share We calculate our basic earnings per share by dividing net income by the weighted average number of shares outstanding during the period. The diluted earnings per share computation includes the effect, if any, of shares that would be issuable upon the exercise of outstanding stock options, derivative liability, convertible debt and RSUs, reduced by the number of shares which are assumed to be purchased by the Company from the resulting proceeds at the average market price during the year, when such amounts are dilutive to the earnings per share calculation. Cash and Cash Equivalents We consider all highly liquid marketable securities with an original maturity of three months or less to be cash equivalents. Due to the short-term maturity of such investments, the carrying amounts are a reasonable estimate of fair value. Marketable Securities The Company accounts for marketable securities held as “available-for-sale” in accordance with ASC 320, “Investments Debt and Equity Securities” (“ASC 320”). The Company classifies these investments as current assets and carries them at fair value. Unrealized gains and losses are recorded as a separate component of stockholders’ equity as accumulated other comprehensive loss. Realized gains or losses on marketable security transactions are reported in the Consolidated Statements of Operations and Comprehensive Income (Loss). Marketable securities are maintained at one financial institution and are governed by the Company’s investment policy as approved by our Board of Directors. Trade and Notes Receivable Trade Receivables, Net Trade accounts receivable are recorded net of allowances for prompt payment and doubtful accounts. Estimates for allowances for doubtful accounts are determined based on existing contractual obligations, historical payment patterns and individual customer circumstances. The allowance for doubtful accounts was $0.2 million and $0.3 million at December 31, 2017 and 2016 , respectively. For the years ended December 31, 2017, 2016 and 2015, bad debt expense recorded in the Statement of Operations and Comprehensive Income (Loss) was approximately $0.2 million , $0.2 million and none , respectively. Notes Receivable Notes receivable arose from the sale of a pediatric priority review voucher (the "PRV"). On July 2, 2015, the Company sold and transferred the PRV to Sanofi for $245.0 million . $150.0 million was received upon closing, and $47.5 million was due on each of the first and second anniversaries of the closing. In accordance with U.S. GAAP, the Company recorded the future short term and long term notes receivable at their present value of $46.2 million and $44.9 million , respectively, at the date of the sale using a discount rate of 2.8% . The accretion on the notes receivables totaled $0.7 million and $1.9 million for 2017 and 2016, respectively, and is recorded in interest expense, net, in the Consolidated Statements of Operations and Comprehensive Income (Loss). The first and second annual payments were received on July 1, 2016 and June 30, 2017 in accordance with the terms of the sale agreement. As of December 31, 2017 , there are no outstanding notes receivable. Inventory and Related Reserves Inventory, which is recorded at the lower of cost or net realizable value, includes materials, labor, and other direct and indirect costs and are valued using the first-in, first-out method. The Company periodically analyzes its inventory levels to identify inventory that may expire prior to expected sale or has a cost basis in excess of its estimated realizable value, and writes down such inventory as appropriate. In addition, the Company's products are subject to strict quality control and monitoring which the Company’s manufacturers perform throughout their manufacturing process. The Company does not directly manufacture any product. The Company has single suppliers for products Chenodal and Thiola, and prospectively arranges for manufacture from contract service providers for its product Cholbam. The inventory reserve was $0.7 million and $0.6 million at December 31, 2017 and 2016 , respectively. Inventory, net of reserve, consisted of the following at December 31, 2017 and 2016 ( in thousands ): December 31, 2017 December 31, 2016 Raw material $ 3,435 $ 1,336 Finished goods 1,916 1,490 Total inventory $ 5,351 $ 2,826 Segment Information The Company currently operates in one business segment focused on the development and commercialization of innovative therapies for people with serious and life threatening rare diseases and medical conditions. The Company is not organized by market and is managed and operated as one business. A single management team reports to the chief operating decision maker who comprehensively manages the entire business. The Company does not operate any separate lines of business or separate business entities with respect to its products. Accordingly, the Company does not accumulate discrete financial information with respect to separate products, other than revenues, and does not have separately reportable segments. Property and Equipment, net Property and equipment are stated at cost, net of accumulated depreciation. Depreciation is computed using the straight-line method over the related estimated useful lives as presented in the table below. Significant additions and improvements are capitalized, while repairs and maintenance are charged to expense as incurred. Property and equipment purchased for specific research and development projects with no alternative use is expensed as incurred. The major classifications of property and equipment, including their respective expected useful lives, consists of the following: Computers and equipment 3 years Furniture and fixtures 7 years Leasehold improvements Shorter of length of lease or life of the asset Intangible Assets, Net Our intangible assets consist of licenses, purchased technology and acquired in-process research and development (IPR&D). Intangible assets with definite lives are amortized on a straight-line basis over their estimated useful lives and are reviewed periodically for impairment. Intangible assets related to IPR&D projects are considered to be indefinite-lived until the completion or abandonment of the associated research and development efforts. During the period the assets are considered indefinite-lived, they will not be amortized but will be tested for impairment. If and when development is complete, which generally occurs when regulatory approval to market a product is obtained, the associated assets are deemed finite-lived and are amortized over a period that best reflects the economic benefits provided by these assets. Goodwill Goodwill represents the excess of purchase price over fair value of net assets acquired in a business combination and is not amortized. Goodwill is subject to impairment testing at least annually or when a triggering event occurs that could indicate a potential impairment. The Company has one segment and one reporting unit and as such reviews goodwill for impairment at the consolidated level. For the years ended December 31, 2017 , 2016 and 2015 there were no impairments to goodwill. Impairment of Long-Lived Assets Our long-lived assets are primarily comprised of intangible assets and property and equipment. We evaluate our finite-lived intangible assets, other than goodwill and property and equipment, for impairment whenever events or changes in circumstances indicate the carrying value of an asset or group of assets may not be recoverable. If these circumstances exist, recoverability of assets to be held and used is measured by a comparison of the carrying amount of an asset group to future undiscounted net cash flows expected to be generated by the use and eventual disposition of the asset group. If such assets are considered to be impaired, the impairment to be recognized is measured by the amount by which the carrying amount of the assets exceeds the fair value of the assets. In addition, indefinite-lived intangible assets, comprised of IPR&D, are reviewed for impairment annually and whenever events or changes in circumstances indicate that it is more likely than not that the asset is impaired by comparing the fair value to the carrying value of the asset. To determine the fair value of the asset, the Company used the multi-period excess earnings method of the income approach. For the year ended December 31, 2015 the Company wrote off the intangible asset related to Carbetocin and recorded a loss of $4.7 million . There were no impairments related to intangible assets in the years ended December 31, 2017 or 2016. Contingent Consideration We record contingent consideration resulting from a business combination at its fair value on the acquisition date. On a quarterly basis, we revalue these obligations and record increases or decreases from their fair value as an adjustment to the consolidated statement of operations. Changes to contingent consideration obligations can result from changes to discount rates, accretion of the liability due to the passage of time, changes in revenue forecasts and changes in our estimates of the likelihood or timing of achieving commercial milestones. Income Taxes The Company follows ASC 740, Income Taxes, which requires recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been included in the financial statements or tax returns. Under this method, deferred tax assets and liabilities are based on the differences between the financial statement and tax bases of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to reverse. Deferred tax assets are reduced by a valuation allowance to the extent management concludes it is more likely than not that the asset will not be realized. The standard addresses the determination of whether tax benefits claimed or expected to be claimed on a tax return should be recorded in the financial statements. Under ASC 740, the Company may recognize the tax benefit from an uncertain tax position only if it is more likely than not that the tax position will be sustained on examination by the tax authorities, based on the technical merits of the position. The tax benefits recognized in the financial statements from such a position should be measured based on the largest benefit that has a greater than fifty percent likelihood of being realized upon ultimate settlement. ASC 740 also provides guidance on de-recognition, classification, interest and penalties on income taxes, accounting in interim periods and requires increased disclosures. The Company’s policy is to record estimated interest and penalty related to the underpayment of income taxes or unrecognized tax benefits as a component of its income tax provision. Reclassifications Certain reclassifications have been made to the prior year financial statements in order to conform to the current year’s presentation. Patents The Company expenses external costs, such as filing fees and associated attorney fees, incurred to obtain issued patents and patent applications pending. The Company also expenses costs associated with maintaining and defending patents subsequent to their issuance in the period incurred. Derivative Financial Instruments, Warrants The Company does not use derivative instruments to hedge exposures to cash flow, market or foreign currency risks. However, certain warrants to purchase common stock that do not meet the requirements for classification as equity, in accordance with the Derivatives and Hedging Topic of the ASC, are classified as liabilities. The Company’s warrants are classified as liability instruments due to an anti-dilution provision that provides for a reduction to the exercise price of the warrants if the Company issues additional equity or equity linked instruments in the future at an effective price per share less than the exercise price then in effect. The derivative instrument was initially recorded at its fair value and is then revalued at each reporting date, with changes in the fair value reported in the Consolidated Statements of Operations and Comprehensive Income (Loss). Treasury Stock The Company records treasury stock at the cost to acquire it and includes treasury stock as a component of stockholders’ equity until it is retired. As of December 31, 2017 the Company has no treasury stock. Recently Adopted Accounting Pronouncements In April 2016, the Financial Accounting Standard Board (“FASB”) issued Accounting Standards Update (“ASU”) No. 2016-09, Compensation —Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting. Specifically, the ASU requires all excess tax benefits and tax deficiencies (including tax benefits of dividends on share-based payment awards) to be recognized as income tax expense or benefit in the income statement. The tax effects of exercised or vested awards should be treated as discrete items in the reporting period in which they occur. An entity also should recognize excess tax benefits, and assess the need for a valuation allowance, regardless of whether the benefit reduces taxes payable in the current period. That is, off balance sheet accounting for net operating losses stemming from excess tax benefits would no longer be required and instead such net operating losses would be recognized when they arise. Existing net operating losses that are currently tracked off balance sheet would be recognized, net of a valuation allowance if required, through an adjustment to opening retained earnings in the period of adoption. Entities will no longer need to maintain and track an “APIC pool.” The ASU also requires excess tax benefits to be classified along with other income tax cash flows as an operating activity in the statement of cash flows. In addition, the ASU elevates the statutory tax withholding threshold to qualify for equity classification up to the maximum statutory tax rates in the applicable jurisdiction(s). The ASU also clarifies that cash paid by an employer when directly withholding shares for tax withholding purposes should be classified as a financing activity. The ASU provides an optional accounting policy election (with limited exceptions), to be applied on an entity-wide basis, to either estimate the number of awards that are expected to vest (consistent with GAAP) or account for forfeitures when they occur. Upon adoption, all of the tax effects related to share-based payments at settlement (or expiration) will be recorded through the income statement. The Company adopted this ASU as of January 1, 2017 using a prospective transition method related to the presentation of excess tax benefits on the statement of cash flows. In 2016 and 2015, the Company would have recorded a tax expense of $0.4 million and a tax benefit of $2.4 million , respectively. In August 2016, the FASB issued ASU No. 2016-15,Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments. These amendments provide cash flow statement classification guidance for: 1. Debt Prepayment or Debt Extinguishment Costs; 2. Settlement of Zero-Coupon Debt Instruments or Other Debt Instruments with Coupon Interest Rates That Are Insignificant in Relation to the Effective Interest Rate of the Borrowing; 3. Contingent Consideration Payments Made after a Business Combination; 4. Proceeds from the Settlement of Insurance Claims; 5. Proceeds from the Settlement of Corporate-Owned Life Insurance Policies, including Bank-Owned Life Insurance Policies; 6. Distributions Received from Equity Method Investees; 7. Beneficial Interests in Securitization Transactions; and 8. Separately Identifiable Cash Flows and Application of the Predominance Principle. This ASU became effective for public business entities for fiscal years beginning after December 15, 2017, and interim periods within those fiscal years. The Company has elected to adopt this guidance in the fourth quarter of year ended December 31, 2017, which applied retrospectively, reclassifies portions of payments made for contingent consideration in the financing section to the operation section of the Consolidated Statements of Cash Flows. The reclassification on the Consolidated Statements of Cash Flows was $1.9 million and $0.8 million for 2016 and 2015, respectively. In October 2016, the FASB issued ASU No. 2016-16, Income Taxes (Topic 740): Intra-Entity Transfers of Assets Other Than Inventory. The new guidance changes the accounting for income tax effects of intra-entity transfers of assets other than inventory. Under the new guidance, the selling (transferring) entity is required to recognize a current tax expense or benefit upon transfer of the asset. Similarly, the purchasing (receiving) entity is required to recognize a deferred tax asset or deferred tax liability, as well as the related deferred tax benefit or expense, upon receipt of the asset. As of January 1, 2017, the Company reversed the balance of $4.9 million in its prepaid tax asset account as a charge to retained earnings. Recently Issued Accounting Pronouncements From time to time, new accounting pronouncements are issued by the FASB or other standard setting bodies. 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 consolidated financial position or results of operations upon adoption. In May 2014, the FASB issued ASU No. 2014-09, Revenue from Contracts with Customers. Under the new standard, revenue is recognized at the time a good or service is transferred to a customer for the amount of consideration for which the entity expects to be entitled for that specific good or service. Entities may use a full retrospective approach or report the cumulative effect as of the date of adoption. The Company adopted the new standard on January 1, 2018 using the full retrospective approach and does not expect any impact on the timing or recognition of revenue because its only revenue source is product sales and because no variable consideration exists. The new standard also requires enhanced disclosures about the nature, amount, timing and uncertainty of revenue and cash flows arising from customer contracts. The Company expects to make these disclosures in its financial statements for the period ending March 31, 2018. In February 2016, the FASB issued ASU No. 2016-02, Leases. The new standard establishes a right-of-use ("ROU") model that requires a lessee to record a ROU asset and a lease liability on the balance sheet for all leases with terms longer than 12 months. Leases will be classified as either finance or operating, with classification affecting the pattern of expense recognition in the income statement. The new standard is effective for fiscal years beginning after December 15, 2018, including interim periods within those fiscal years. A modified retrospective transition approach is required for lessees for capital and operating leases existing at, or entered into after, the beginning of the earliest comparative period presented in the financial statements, with certain practical expedients available. The Company is in the process of evaluating the impact of this guidance on its consolidated financial statements and related disclosures; however, based on the Company's current operating leases, it is expected to have a material impact to the consolidated balance sheet by increasing assets and liabilities. In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments - Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments. Topic 326 amends guidance on reporting credit losses for assets held at amortized cost basis and available for sale debt securities. For assets held at amortized cost basis, Topic 326 eliminates the probable initial recognition threshold in current GAAP and, instead, requires an entity to reflect its current estimate of all expected credit losses. The allowance for credit losses is a valuation account that is deducted from the amortized cost basis of the financial assets to present the net amount expected to be collected. For available for sale debt securities, credit losses should be measured in a manner similar to current GAAP, however Topic 326 will require that credit losses be presented as an allowance rather than as a write-down. This ASU update affects entities holding financial assets and net investment in leases that are not accounted for at fair value through net income. The amendments affect loans, debt securities, trade receivables, net investments in leases, off balance sheet credit exposures, reinsurance receivables, and any other financial assets not excluded from the scope that have the contractual right to receive cash. This update is effective for fiscal years beginning after December 15, 2019, including interim periods within those fiscal years. As of December 31, 2017 , the Company holds $201.2 million in available for sale debt securities that are affected by this ASU. If adopted as of December 31, 2017 , this would not have a material impact on financial statements. In January 2017, the FASB issued ASU 2017-01, Business Combinations (Topic 805): Clarifying the Definition of a Business . The new guidance dictates that, when substantially all of the fair value of the gross assets acquired (or disposed of) is concentrated in a single identifiable asset or a group of similar identifiable assets, it should be treated as an acquisition or disposal of an asset. The guidance will be effective for the fiscal year beginning on January 1, 2018, including interim periods within that year (early adoption is permitted). The Company is currently evaluating the potential effect of the guidance on its consolidated financial statements. In July 2017, the FASB issued ASU No. 2017-11, Earnings Per Share (Topic 260); Distinguishing Liabilities from Equity (Topic 480); Derivatives and Hedging (Topic 815): (Part I) Accounting for Certain Financial Instruments with Down Round Features. These amendments simplify the accounting for certain financial instruments with down round features. The amendments require companies to disregard the down round feature when assessing whether the instrument is indexed to its own stock, for purposes of determining liability or equity classification. Companies that provide earnings per share ("EPS") data will adjust their basic EPS calculation for the effect of the feature when triggered (i.e., when the exercise price of the related equity-linked financial instrument is adjusted downward because of the down round feature) and will also recognize the effect of the trigger within equity. As of and for the year ended December 31, 2017, the Company had warrants with down round features with a fair value of $15.7 million on the Consolidated Balance Sheet and recorded $19.4 million to Consolidated Statement of Operations and Comprehensive Income (Loss). The Company will adopt this ASU as of January 1, 2018. In February 2018, the FASB issued ASU 2018-02, Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income. The new guidance addresses a specific consequence of the Tax Act. This accounting update allows a reclassification from accumulated other comprehensive income to retained earnings for stranded tax effects resulting from the Tax Act. The amendments eliminate the stranded tax effects that were created as a result of the reduction of historical U.S. federal corporate income tax rate to the newly enacted U.S. federal corporate income tax rate. The accounting update is effective January 1, 2019, with early adoption permitted, and is to be applied either in the period of adoption or retrospectively to each period in which the effect of the change in the U.S. federal corporate income tax rate in the Tax Act is recognized. The Company is currently evaluating the potential effect of the guidance on its consolidated financial statements. |