Significant Accounting Policies | Note 2—Significant Accounting Policies: The significant accounting policies followed in the preparation of these unaudited condensed consolidated financial statements are as follows: Financial Instruments: The carrying value of financial instruments, such as cash equivalents, accounts receivable and accounts payable, approximate their fair value because of their short-term nature. The carrying value of long-term debt approximates its fair value as the principal amounts outstanding are subject to variable interest rates that are based on market rates, which are regularly reset. Use of Estimates: The preparation of consolidated financial statements in conformity with Generally Accepted Accounting Principles, or GAAP, requires management to make estimates and assumptions that affect reported amounts of assets and liabilities, and disclosure of contingent assets and liabilities at the date of the balance sheet, and reported amounts of expenses for the period presented. Accordingly, actual results could differ from those estimates. Significant estimates include estimates for variable consideration for which reserves were established. These estimates are included in the calculation of net revenues and 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. Principles of Consolidation: The unaudited condensed consolidated financial statements include the accounts of the Company and its wholly owned subsidiary. All intercompany balances and transactions have been eliminated in consolidation. Investment Securities: The Company classifies all investment securities (short term and long term) as available-for-sale, as the sale of such securities may be required prior to maturity to implement management’s strategies. These securities are carried at fair value, with the unrealized gains and losses, reported as a component of accumulated other comprehensive loss in stockholders’ equity until realized. Realized gains and losses from the sale of available-for-sale securities, if any, are determined on a specific identification basis. A decline in the market value of any available-for-sale security below cost that is determined to be other than temporary results in the revaluation of its carrying amount to fair value. The impairment is charged to earnings and a new cost basis for the security is established. Premiums and discounts are amortized or accreted over the life of the related security as an adjustment to yield using the straight-line method. Interest income is recognized when earned. License Fees and Intangible Assets: The Company expenses amounts paid to acquire licenses associated with products under development when the ultimate recoverability of the amounts paid is uncertain and the technology has no alternative future use when acquired. Acquisitions of technology licenses are charged to expense or capitalized based upon the asset achieving technological feasibility in accordance with management’s assessment regarding the ultimate recoverability of the amounts paid and the potential for alternative future use. The Company has determined that technological feasibility for its product candidates is reached when the requisite regulatory approvals are obtained to make the product available for sale. The Company capitalizes technology licenses upon reaching technological feasibility. The Company maintains definite-lived intangible assets related to the Company’s license with Pfizer. 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. Amortization costs are recorded as part of cost of sales. 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 of 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 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. The FDA approval of NERLYNX in July 2017 triggered a one-time milestone payment pursuant to the Company’s license agreement with the Pfizer. The Company capitalized the milestone payment as an intangible asset and is amortizing the asset to cost of sales on a straight-line basis through 2030, the estimated useful life of the licensed patent. The Company recorded amortization expense related to its intangible asset of $1.0 million and $2.0 million for the three and six months ended June 30, 2018, respectively. As of June 30, 2018, estimated future amortization expense related to the Company’s intangible asset was approximately $1.9 million for the remainder of 2018, approximately $3.9 million for each year starting 2019 through 2029, and approximately $1.0 million for 2030. Royalties: Royalties incurred in connection with the Company’s license agreement with the Licensor are expensed to cost of sales as revenue from product sales is recognized. Inventory: The Company values its inventories at the lower of cost and 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 the cost of sales. 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 sales in the consolidated statements of operations and comprehensive loss. The Company capitalizes inventory costs associated with the Company’s products after regulatory approval, if any, 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 recorded as research and development expense as incurred. Inventory that can be used in the production of either clinical or commercial product is recorded as research and development expense when selected for use in a clinical trial. Starter kits, provided to patients prior to insurance approval, are expensed by the Company to sales and marketing expense as incurred. As of June 30, 2018, the Company’s inventory balance consisted primarily of raw materials purchased subsequent to FDA approval of NERLYNX. Revenue Recognition: The Company adopted Accounting Standards Codification, or ASC Topic 606 - Revenue from Contracts with Customers, or ASC 606, on January 1, 2017. 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 ASC 606, when its customer obtains control of the promised goods or services, an entity recognizes revenue in an amount that reflects the consideration which the entity expects to be entitled in exchange for those goods or services. The Company had no contracts with customers until the FDA approved NERLYNX on July 17, 2017. Subsequent to receiving FDA approval, the Company entered into a limited number of arrangements with specialty pharmacies and specialty distributors in the United States to distribute NERLYNX. These arrangements are the Company’s initial contracts with customers. The Company has determined that these sales channels with customers are similar. To determine revenue recognition for arrangements that an entity determines are within the scope of ASC 606, the entity performs the following five steps: (i) identifies the contract(s) with a customer, (ii) identifies the performance obligations in the contract, (iii) determines the transaction price, (iv) allocates the transaction price to the performance obligations in the contract, and (v) recognizes 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 ASC 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 ASC 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 NERLYNX to a limited number of specialty pharmacies and specialty distributors in the United States. These customers subsequently resell the Company’s products to patients and certain medical centers or hospitals. In addition to distribution agreements with these 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 specialty pharmacy or specialty distributor, as applicable, obtains control of the Company's product, which occurs at a point in time (upon delivery). Product revenue is recorded net of applicable reserves for variable consideration, including discounts and allowances. The Company’s payment terms range between 10 and 68 days. Shipping and handling costs for product shipments occur prior to the customer obtaining control of the goods, and are recorded in cost of sales. If taxes should be collected from these 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 months ended June 30, 2018. Product revenue from customers who individually accounted for 10% or more of the Company’s total revenue for the three months ended June 30, 2018 consisted of the following, shown as a percentage of total revenue: Three Months Ended June 30, 2018 Customer A 41 % Customer B 25 % Customer C 14 % License Revenue: The Company also recognizes license revenue under certain of the Company’s license agreements that are within the scope of ASC 606. The terms of these agreements may contain multiple performance obligations, which may include licenses and research and development activities. The Company evaluates these agreements under ASC 606 to determine the distinct performance obligations. Non-refundable, up-front fees that are not contingent on any future performance and require no consequential continuing involvement by the Company, are recognized as revenue when the license term commences and the licensed data, technology or product is delivered. The Company defers recognition of non-refundable upfront license fees if the performance obligations are not satisfied. Prior to recognizing revenue, the Company makes estimates of the transaction price, including variable consideration that is subject to a constraint. 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. Variable consideration may include nonrefundable upfront license fees, payments for research and development activities, reimbursement of certain third-party costs, payments based upon the achievement of specified milestones, and royalty payments based on product sales derived from the collaboration. If there are multiple distinct performance obligations, the Company allocates the transaction price to each distinct performance obligation based on its relative standalone selling price. The standalone selling price is generally determined based on the prices charged to customers or using expected cost plus margin. Revenue is recognized by measuring the progress toward complete satisfaction of the performance obligations. During the first quarter of 2018, the Company entered into sub-licensing agreements with CANbridge and Medison, to pursue regulatory approval and commercialize NERLYNX, if approved, in the People’s Republic of China (including mainland China, Hong Kong, Macao, and Taiwan) and Israel, respectively. The license agreements granted intellectual property rights and set forth the parties’ respective obligations with respect to development, commercialization and supply of the licensed product. For both license agreements, non-refundable, upfront license fees were received and recognized as license revenue in accordance with ASC 606. Each respective license agreement met the contract existence criteria and contained distinct, identifiable performance obligations for which the stand-alone selling prices were readily determinable and allocable. The Company is obligated to supply both CANBridge and Medison with the licensed product in accordance with the respective supply agreements. These supply arrangements have been identified as separate performance obligations. The Company also identified the Joint Steering Committee as a separate, distinct performance obligation. To determine the respective stand-alone selling prices, the Company estimated the transaction prices, including any variable consideration, at contract inception and determined the fair value of such obligations based on similar arrangements. When determining the transaction prices, the Company assumed that the goods or services will be transferred to the customer based on the terms of the existing contract, and did not take into consideration the possibility of a contract being canceled, renewed, or modified. The Company noted there was no additional variable consideration, significant financing components, noncash consideration, or consideration payable to the customer in these agreements. Additionally, during the first quarter of 2018, the Company entered into a sub-license agreement with Pint. The license agreement granted intellectual property rights and set forth the respective obligations with respect to development, commercialization and supply of NERYLNX in 22 countries and territories in Central and South America. This license agreement met the contract existence criteria and contained distinct, identifiable performance obligations for which the stand-alone selling prices were readily determinable and allocable. Under the terms of the license agreement, the Company is entitled to receive a non-deductible, non-creditable upfront payment. Prior to receipt of such payment, the Company must provide certain required documents on or before September 30, 2018 to the satisfaction of Pint. As of June 30, 2018 the Company had not satisfied this performance obligation and no revenue has been recognized under the terms of the arrangement. estimated the transaction prices, including any variable consideration, at contract inception and determined the fair value of such obligations based on similar arrangements. When determining the transaction prices, the Company assumed that the goods or services will be transferred to the customer based on the terms of the existing contract, and did not take into consideration the possibility of a contract being canceled, renewed, or modified. The Company noted there was no additional variable consideration, significant financing components, noncash consideration, or consideration payable to the customer in these agreements. non-deductible, non-creditable upfront payment and The period between when we transfer control of the promised goods to a customer and when we receive payment from such customer is expected to be one year or less. Reserves for Variable Consideration: Revenue 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 related sales, and are classified as reductions of accounts receivable or a current liability. These estimates take into consideration a range of possible outcomes that are probability-weighted in accordance with the expected value method in ASC 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 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 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, 2018 and, therefore, the transaction price was not reduced further during the quarter ended June 30, 2018. 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. The reserve for discounts is established in the same period that the related revenue is recognized, together with reductions to trade receivables, net on the consolidated balance sheets. In addition, the Company compensates 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 its customers and, therefore, these payments have been recorded as a reduction of revenue within the statement of operations and comprehensive loss through June 30, 2018. Product Returns: Consistent with industry practice, the Company offers the specialty pharmacies and specialty distributors that are its customers limited product return rights for damaged and expiring product, provided it is within a specified period around the product expiration date as set forth in the applicable individual distribution agreement. 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 a reduction to trade receivables, net on the consolidated balance sheets. The Company currently estimates product returns using available industry data and its own sales information, including its visibility into the inventory remaining in the distribution channel. The Company has an insignificant amount of returns to date and believes that returns of its products will continue to 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 its 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. The reserve for chargebacks is established in the same period that the related revenue is recognized, resulting in a reduction of product revenue and the establishment of a current liability. Chargeback amounts are generally determined at the time of resale to the qualified healthcare provider by customers, and the Company generally issues payments for such amounts within a few weeks of the customer’s notification to the Company of the resale. Reserves for chargebacks consist of payments that the Company expects to issue for units that remain in the distribution channel 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 payment . 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 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 estimates of future claims that will be made for product that has been recognized as revenue, but which remains in the distribution channel 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 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 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 consolidated balance sheets. Assets Measured at Fair Value on a Recurring Basis: ASC, 820, Fair Value Measurement Level 1: Quoted prices in active markets for identical assets or liabilities. Level 2: Quoted prices for similar assets or liabilities in active markets; quoted prices for identical or similar instruments in markets that are not active; and model-derived valuations in which all significant inputs are observable in active markets. Level 3: Valuations derived from valuation techniques in which one or more significant inputs are unobservable. Following are the major categories of assets measured at fair value on a recurring basis as of June 30, 2018 and December 31, 2017, using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3) (in thousands): June 30, 2018 Level 1 Level 2 Level 3 Total Cash equivalents $ 53,203 $ 20,443 $ — $ 73,646 Commercial paper — 32,786 — 32,786 Corporate bonds 5,814 5,814 $ 53,203 $ 59,043 $ — $ 112,246 December 31, 2017 Level 1 Level 2 Level 3 Total Cash equivalents $ 67,753 $ — $ — $ 67,753 $ 67,753 $ — $ — $ 67,753 The Company’s investments in commercial paper, corporate bonds and U.S. government securities are exposed to price fluctuations. The fair value measurements for commercial paper, corporate bonds and U.S. government securities are based upon the quoted prices of similar items in active markets multiplied by the number of securities owned. The cash equivalents balance previously disclosed in the footnotes of the Company’s 2017 Annual Report on form 10-K of $81.7 million incorrectly included cash of $13.9 million. The Company has excluded cash from the $67.8 million cash equivalents balance as of December 31, 2017 as currently presented. The misstatement was not material to the previously-reported financial statements. The following tables summarize the Company’s short-term investments (in thousands): Maturity Amortized Unrealized Estimated June 30, 2018 (in years) cost Gains Losses fair value Cash equivalents $ 73,646 $ — $ — $ 73,646 Commercial paper Less than 1 32,786 — — 32,786 Corporate bonds Less than 1 5,815 — (1 ) 5,814 $ 112,247 $ — $ (1 ) $ 112,246 Maturity Amortized Unrealized Estimated December 31, 2017 (in years) cost Gains Losses fair value Cash equivalents $ 67,753 $ — $ — $ 67,753 $ 67,753 $ — $ — $ 67,753 Concentration of Risk: Financial instruments, which potentially subject the Company to concentrations of credit risk, principally consist of cash and cash equivalents and accounts receivable. The Company’s cash and cash equivalents and restricted cash in excess of the Federal Deposit Insurance Corporation and the Securities Investor Protection Corporation insured limits at June 30, 2018, were approximately $100.7 million. The Company does not believe it is exposed to any significant credit risk due to the quality nature of the financial instruments in which the money is held. Pursuant to the Company’s internal investment policy, investments must be rated A-1/P-1 or better by Standard and Poor’s Rating Service and Moody’s Investors Service at the time of purchase. The Company sells its products in the United States primarily through specialty pharmacies and specialty distributors. Therefore, wholesale distributors and large pharmacy chains account for a large portion of its trade receivables and net product revenues. The creditworthiness of its customers is continuously monitored, and the Company has internal policies regarding customer credit limits. The Company estimates an allowance for doubtful accounts primarily based on the credit worthiness of our customers, historical payment patterns, aging of receivable balances and general economic conditions. The Company’s success depends on its ability to successfully commercialize NERLYNX. The Company currently has a single product with limited commercial sales experience, which makes it difficult to evaluate its current business, predict its future prospects and forecast financial performance and growth. The Company has invested a significant portion of its efforts and financial resources in the development and commercialization of the lead product, NERLYNX, and expects NERLYNX to constitute the vast majority of product revenue for the foreseeable future. The Company’s success depends on its ability to effectively commercialize NERLYNX. The Company relies exclusively on third parties to formulate and manufacture NERLYNX and its drug candidates. The commercialization of NERLYNX and any other drug candidates, if approved, could be stopped, delayed or made less profitable if those third parties fail to provide sufficient quantities of product or fail to do so at acceptable quality levels or prices. The Company has no experience in drug formulation or manufacturing and does not intend to establish its own manufacturing facilities. The Company lacks the resources and expertise to formulate or manufacture NERLYNX and other drug candidates. While the drug candidates were being developed by Pfizer, both the drug substance and drug product were manufactured by third-party contractors. The Company is using the same third-party contractors to manufacture, supply, store and distribute drug supplies for clinical trials and the commercialization of NERLYNX. If the Company is unable to continue its relationships with one or more of these third-party contractors, it could experience delays in the development or commercialization efforts as it locates and qualifies new manufacturers. The Company intends to rely on one or more third-party contractors to manufacture the commercial supply of drugs. Research and Development Expenses: Research and development expenses, or R&D, are charged to operations as incurred. The major components of research and development expenses include clinical manufacturing costs, clinical trial expenses, consulting and other third-party costs, salaries and employee benefits, stock-based compensation expense, supplies and materials, and allocations of various overhead costs. Clinical trial expenses include, but are not limited to, investigator fees, site costs, comparator drug costs, and clinical research organization, or CRO, costs. In the normal course of business, the Company contracts with third parties to perform various clinical trial activities in the ongoing development of potential products. The financial terms of these agreements are subject to negotiation and variations from contract to contract and may result in uneven payment flows. Payments under the contracts depend on factors such as the achievement of certain events, the successful enrollment of patients and the completion of portions of the clinical trial or similar conditions. The Company’s accruals for clinical trials are based on estimates of the services received and efforts expended pursuant to contracts with numerous clinical trial sites, cooperative groups and CROs. The objective of the Company’s accrual policy is to match the recording of expenses in the unaudited condensed consolidated financial statements to the actual services received and efforts expended. As actual costs become known, the Company adjusts its accruals in that period. In instances where the Company enters into agreements with third parties for clinical trials and other consultin |