Basis of Presentation and Significant Accounting Policies | Basis of Presentation and Significant Accounting Policies Basis of Presentation —The accompanying unaudited condensed consolidated financial statements and the related disclosures of the Company have been prepared in accordance with accounting principles generally accepted in the United States (“GAAP”) for interim financial reporting and as required by Regulation S-X, Rule 10-01. Accordingly, they do not include all the information and footnotes required by GAAP for complete financial statements. In the opinion of management, all adjustments (including those which are normal and recurring) considered necessary for a fair presentation of the interim financial information have been included. When preparing financial statements in conformity with GAAP, the Company must make estimates and assumptions that affect the reported amounts of assets, liabilities, expenses and related disclosures at the date of the financial statements. Actual results could differ from those estimates. Additionally, operating results for the six months ended June 30, 2017 are not necessarily indicative of the results that may be expected for any other interim period or for the fiscal year ending December 31, 2017 . Subsequent events have been evaluated up to the date of issuance of these financial statements. These interim condensed consolidated financial statements should be read in conjunction with the audited consolidated financial statements and notes, which are contained in our Annual Report on Form 10-K for the year ended December 31, 2016 (“2016 Form 10-K”), filed with the Securities and Exchange Commission (“SEC”) on February 24, 2017. Certain prior period amounts have been reclassified to conform to the current period presentation. Significant Accounting Policies — The significant accounting policies identified in the Company’s 2016 Form 10-K that require the Company to make estimates and assumptions include: research and development costs, stock-based compensation and fair value measures. There were no changes to significant accounting policies during the six months ended June 30, 2017 , except for the adoption of two Accounting Standards Updates ("ASU") issued by the Financial Accounting Standards Board ("FASB"), as well as significant accounting policies over revenue, inventory, and intangibles, each of which is detailed below. Stock-based Compensation — In March 2016, the FASB issued Accounting Standards Update No. 2016-09, Improvements to Employee Share-Based Payment Accounting (“ASU 2016-09”). This revised standard affects the accounting for forfeitures, cash flow presentation and income taxes. Specifically, this standard provides an accounting policy election to account for forfeitures as they occur, requires all excess tax benefits and deficiencies on share-based payment awards to be recognized as income tax expense or benefit in the statement of operations, requires the tax effects of exercised or vested awards should be treated as discrete items in the reporting period in which they occur, and requires that excess tax benefits to be classified with other income tax cash flows as an operating activity. The standard permits early adoption in any annual or interim period and will be applied by means of a cumulative-effect adjustment to retained earnings as of the beginning of the fiscal year of adoption. Historically, the Company recognized stock-based compensation net of estimated forfeitures over the vesting period of the respective grant. Effective January 1, 2017, the Company adopted ASU 2016-09 and changed its accounting policy to recognize forfeitures as they occur. The new forfeiture policy election was adopted using a modified retrospective approach with a cumulative effect adjustment of approximately $0.5 million to retained earnings as of January 1, 2017. In addition, the Company recognized $6.1 million of accumulated excess tax benefits as deferred tax assets that under the previous guidance could not be recognized until the benefits were realized through a reduction in cash taxes paid. This part of the guidance was applied using a modified retrospective method with a cumulative-effect adjustment to the accumulated deficit for the excess tax benefits not previously recognized. However, given the full valuation allowance placed on the additional $6.1 million of deferred tax assets, the recognition upon adoption had no impact to our accumulated deficit as of January 1, 2016. The adoption of ASU 2016-09 effective January 1, 2017 had no other material impacts on the Company’s results of operations, financial position or cash flows. Revenue Recognition — On April 28, 2017, the FDA approved TYMLOS. Subsequent to receiving FDA approval, the Company entered into a limited number of arrangements with wholesalers in the U.S. (collectively, its “Customers”) to distribute TYMLOS. These arrangements are the Company’s initial contracts with customers and, as a result the Company adopted Accounting Standards Codification (“ASC”) Topic 606 - Revenue from Contracts with Customers (“Topic 606”). There is no transition to Topic 606 because the Company has no historical revenue. This standard applies to all contracts with customers, except for contracts that are within the scope of other standards, such as leases, insurance, collaboration arrangements, and financial instruments. Under Topic 606, an entity recognizes revenue when its customer obtains control of promised goods or services, in an amount that reflects the consideration which the entity expects to be entitled in exchange for those goods or services. To determine revenue recognition for arrangements that an entity determines are within the scope of Topic 606, the entity performs the following five steps: (i) identify the contract(s) with a customer, (ii) identify the performance obligations in the contract, (iii) determine the transaction price, (iv) allocate the transaction price to the performance obligations in the contract, and (v) recognize revenue when (or as) the entity satisfies a performance obligation. The Company only applies the five-step model to arrangements that meet the definition of a contract under Topic 606, including when it is probable that the entity will collect the consideration it is entitled to in exchange for the goods or services it transfers to the customer. At contract inception, once the contract is determined to be within the scope of Topic 606, the Company assesses the goods or services promised within each contract and determines those that are performance obligations, and assesses whether each promised good or service is distinct. The Company then recognizes as revenue the amount of the transaction price that is allocated to the respective performance obligation when (or as) the performance obligation is satisfied. For a complete discussion of accounting for product revenue, see Product Revenue, Net (below). Product Revenue, Net — The Company sells TYMLOS to a limited number of wholesalers in the U.S. (collectively, its “Customers”). These Customers subsequently resell the Company’s products to specialty pharmacy providers, as well as other retail pharmacies and certain medical centers or hospitals. In addition to distribution agreements with Customers, the Company enters into arrangements with health care providers and payors that provide for government mandated and/or privately negotiated rebates, chargebacks, and discounts with respect to the purchase of the Company’s products. The Company recognizes revenue on product sales when the Customer obtains control of the Company's product, which occurs at a point in time (upon delivery). Product revenues are recorded net of applicable reserves for variable consideration, including discounts and allowances. If taxes should be collected from Customers relating to product sales and remitted to governmental authorities, they will be excluded from revenue. The Company expenses incremental costs of obtaining a contract when incurred, if the expected amortization period of the asset that the Company would have recognized is one year or less. However, no such costs were incurred during the three and six months ended June 30, 2017 . Reserves for Variable Consideration — Revenues from product sales are recorded at the net sales price (transaction price), which includes estimates of variable consideration for which reserves are established. Components of variable consideration include trade discounts and allowances, product returns, provider chargebacks and discounts, government rebates, payor rebates, and other incentives, such as voluntary patient assistance, and other allowances that are offered within contracts between the Company and its Customers, payors, and other indirect customers relating to the Company’s sale of its products. These reserves, as detailed below, 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). These estimates take into consideration a range of possible outcomes which are probability-weighted in accordance with the expected value method in Topic 606 for relevant factors such as current contractual and statutory requirements, specific known market events and trends, industry data, and forecasted customer buying and payment patterns. Overall, these reserves reflect the Company’s best estimates of the amount of consideration to which it is entitled based on the terms of the respective underlying contracts. The amount of variable consideration which is included in the transaction price may be constrained, and is included in the net sales price only to the extent that it is probable that a significant reversal in the amount of the cumulative revenue recognized under the contract will not occur in a future period. The Company’s analyses also contemplated application of the constraint in accordance with the guidance, under which it determined a material reversal of revenue would not occur in a future period for the estimates detailed below as of June 30, 2017 and, therefore, the transaction price was not reduced further during the three months ended June 30, 2017 . Actual amounts of consideration ultimately received may differ from the Company’s estimates. If actual results in the future vary from the Company’s estimates, the Company will adjust these estimates, which would affect net product revenue and earnings in the period such variances become known. Trade Discounts and Allowances — The Company generally provides Customers with discounts which include incentive fees that are explicitly stated in the Company’s contracts and are recorded as a reduction of revenue in the period the related product revenue is recognized. In addition, the Company compensates (through trade discounts and allowances) its Customers for sales order management, data, and distribution services. However, the Company has determined such services received to date are not distinct from the Company’s sale of products to the Customer and, therefore, these payments have been recorded as a reduction of revenue within the statement of operations and comprehensive loss through June 30, 2017 , as well as a reduction to trade receivables, net on the condensed consolidated balance sheets. Product Returns — Consistent with industry practice, the Company generally offers Customers a limited right of return for product that has been purchased from the Company based on the product’s expiration date, which lapses upon shipment to a patient. The Company estimates the amount of its product sales that may be returned by its Customers and records this estimate as a reduction of revenue in the period the related product revenue is recognized, as well as reductions to trade receivables, net on the condensed consolidated balance sheets. The Company currently estimates product return liabilities using available industry data and its own sales information, including its visibility into the inventory remaining in the distribution channel. The Company has not received any returns to date and believes that returns of its products will be minimal. Provider Chargebacks and Discounts — Chargebacks for fees and discounts to providers represent the estimated obligations resulting from contractual commitments to sell products to qualified healthcare providers at prices lower than the list prices charged to Customers who directly purchase the product from the Company. Customers charge the Company for the difference between what they pay for the product and the ultimate selling price to the qualified healthcare providers. These reserves are established in the same period that the related revenue is recognized, resulting in a reduction of product revenue and trade receivables, net. Chargeback amounts are generally determined at the time of resale to the qualified healthcare provider by Customers, and the Company generally issues credits for such amounts within a few weeks of the Customer’s notification to the Company of the resale. Reserves for chargebacks consist of credits that the Company expects to issue for units that remain in the distribution channel inventories at each reporting period-end that the Company expects will be sold to qualified healthcare providers, and chargebacks that Customers have claimed, but for which the Company has not yet issued a credit. Government Rebates — The Company is subject to discount obligations under state Medicaid programs and Medicare. These reserves are recorded in the same period the related revenue is recognized, resulting in a reduction of product revenue and the establishment of a current liability which is included in accrued expenses and other current liabilities on the condensed consolidated balance sheets. For Medicare, the Company also estimates the number of patients in the prescription drug coverage gap for whom the Company will owe an additional liability under the Medicare Part D program. The Company’s liability for these rebates consists of invoices received for claims from prior quarters that have not been paid or for which an invoice has not yet been received, estimates of claims for the current quarter, and estimated future claims that will be made for product that has been recognized as revenue, but which remains in the distribution channel inventories at the end of each reporting period. Payor Rebates — The Company contracts with certain private payor organizations, primarily insurance companies and pharmacy benefit managers, for the payment of rebates with respect to utilization of its products. The Company estimates these rebates and records such estimates in the same period the related revenue is recognized, resulting in a reduction of product revenue and the establishment of a current liability. Other Incentives — Other incentives which the Company offers include voluntary patient assistance programs, such as the co-pay assistance program, which are intended to provide financial assistance to qualified commercially-insured patients with prescription drug co-payments required by payors. The calculation of the accrual for co-pay assistance is based on an estimate of claims and the cost per claim that the Company expects to receive associated with product that has been recognized as revenue, but remains in the distribution channel inventories at the end of each reporting period. The adjustments are recorded in the same period the related revenue is recognized, resulting in a reduction of product revenue and the establishment of a current liability which is included as a component of accrued expenses and other current liabilities on the condensed consolidated balance sheets. To date, the Company’s only source of product revenue has been from the U.S. sales of TYMLOS, which it began shipping to Customers in May 2017. The following table summarizes activity in each of the product revenue allowance and reserve categories for the three months ended June 30, 2017 (in thousands): Chargebacks, Discounts, and Fees Government and other rebates Returns Total Beginning balance $ — $ — $ — $ — Provision related to sales in the current year 271 86 75 432 Credit and payments made — — — — Ending balance $ 271 $ 86 $ 75 $ 432 Chargebacks, discounts, fees, and returns are recorded as reductions of trade receivables, net on the condensed consolidated balance sheets. Government and other rebates are recoded as a component of accrued expenses and other current liabilities on the condensed consolidated balance sheets. Inventory —The Company values its inventories at the lower of cost or estimated net realizable value. The Company determines the cost of its inventories, which includes amounts related to materials and manufacturing overhead, on a first-in, first-out basis. The Company performs an assessment of the recoverability of capitalized inventory during each reporting period, and it writes down any excess and obsolete inventories to their estimated realizable value in the period in which the impairment is first identified. Such impairment charges, should they occur, are recorded within cost of product revenues. The determination of whether inventory costs will be realizable requires estimates by management. If actual market conditions are less favorable than projected by management, additional write-downs of inventory may be required, which would be recorded as a cost of product sales in the consolidated statements of operations and comprehensive loss. The Company capitalizes inventory costs associated with the Company’s products after regulatory approval when, based on management’s judgment, future commercialization is considered probable and the future economic benefit is expected to be realized. Inventory acquired prior to receipt of marketing approval of a product candidate is expensed as research and development expense as incurred. Inventory that can be used in either the production of clinical or commercial product is expensed as research and development expense when selected for use in a clinical manufacturing campaign. Shipping and handling costs for product shipments are recorded as incurred in cost of product revenues along with costs associated with manufacturing the product, and any inventory write-downs. Intangible Assets —The Company maintains definite-lived intangible assets related to certain capitalized milestones. These assets are amortized over their remaining useful lives, which are estimated based on the shorter of the remaining patent life or the estimated useful life of the underlying product. Intangible assets are amortized using the economic consumption method if anticipated future revenues can be reasonably estimated. The straight-line method is used when future revenues cannot be reasonably estimated. The Company assesses its intangible assets for impairment if indicators are present or changes in circumstance suggest that impairment may exist. Events that could result in an impairment, or trigger an interim impairment assessment, include the receipt of additional clinical or nonclinical data regarding one of the Company’s drug candidates or a potentially competitive drug candidate, changes in the clinical development program for a drug candidate, or new information regarding potential sales for the drug. If impairment indicators are present or changes in circumstance suggest that impairment may exist, the Company performs a recoverability test by comparing the sum of the estimated undiscounted cash flows of each intangible asset to its carrying value on the condensed consolidated balance sheet. If the undiscounted cash flows used in the recoverability test are less than the carrying value, the Company would determine the fair value of the intangible asset and recognize an impairment loss if the carrying value of the intangible asset exceeds its fair value. Accounting Standards Updates — In January 2016, the FASB issued ASU No. 2016-01, Financial Statements-Overall (Subtopics 825-10) (“ASU 2016-01”). ASU 2016-01 provides updated guidance on the recognition and measurement of financial assets and financial liabilities that will supersede most current guidance. ASU 2016-01 primarily affects the accounting for equity investments, financial liabilities under the fair value option, and the presentation and disclosure requirements for financial instruments. The amendments in ASU 2016-01 supersede the guidance to classify equity securities with readily determinable fair values into different categories and require equity securities to be measured at fair value with changes in the fair value recognized through net income. The amendments under ASU 2016-01 are effective, for public business entities, for periods beginning after December 15, 2017, including interim periods within those fiscal years. Early adoption is permitted. The Company does not expect the adoption of ASU 2016-01 to have a material impact on its results of operations, financial position or cash flows. In February 2016, the FASB issued ASU No. 2016-02, Leases (“ASU 2016-02”). ASU 2016-02 supersedes the lease guidance under FASB Accounting Standards Codification (“ASC”) Topic 840, Leases , resulting in the creation of FASB ASC Topic 842, Leases . ASU 2016-02 requires a lessee to recognize in the statement of financial position a liability to make lease payments and a right-of-use asset representing its right to use the underlying asset for the lease term for both finance and operating leases. ASU 2016-02 is effective for fiscal years, and interim periods within those years, beginning after December 15, 2018. Early adoption is permitted. The Company is currently assessing the potential impact of adopting ASU 2016-02 on its financial statements and related disclosures. In August 2016, the FASB issued ASU No. 2016-15, Classification of Certain Cash Receipts and Cash Payments (“ASU 2016-15”). ASU 2016-15 addresses eight specific cash flow issues with the objective of reducing the existing diversity in practice. ASU 2016-15 is effective for fiscal years, and interim periods within those years, beginning after December 15, 2017. Early adoption is permitted. The Company does not expect the adoption of ASU 2016-05 to have a material impact on its results of operations, financial position or cash flows. In May 2017, the FASB issued ASU 2017-09, Compensation-Stock Compensation (Topic 718) Scope of Modification Accounting. ASU 2017-09 provides clarification on when modification accounting should be used for changes to the terms or conditions of a share-based payment award. The amendments in ASU 2017-09 are effective for all entities for annual periods, and interim periods within those annual periods, beginning after December 15, 2017, with early adoption permitted, applied prospectively to an award modified on or after the adoption date. This ASU does not change the accounting for modifications but clarifies that modification accounting guidance should only be applied if there is a change to the value, vesting conditions, or award classification and would not be required if the changes are considered non-substantive. The Company is currently assessing the impact that adopting this new accounting standard will have on its consolidated financial statements. |