Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation The accompanying interim unaudited condensed consolidated financial statements have been prepared in accordance with United States generally accepted accounting principles (“U.S. GAAP”) and with the rules and regulations of the U.S. Securities and Exchange Commission (“SEC”) related to a quarterly report on Form 10-Q. Accordingly, they do not include all of the information and disclosures required by U.S. GAAP for a complete set of financial statements. These interim unaudited condensed consolidated financial statements and notes thereto should be read in conjunction with the audited consolidated financial statements and notes thereto included in our Annual Report on Form 10-K for the year ended December 31, 2018 , filed with the SEC on February 21, 2019 . The unaudited financial information for the interim periods presented herein reflects all adjustments which, in the opinion of management, are necessary for a fair presentation of the financial condition and results of operations for the periods presented, with such adjustments consisting only of normal recurring adjustments. Certain reclassifications have been made to the prior period condensed consolidated statement of cash flows within operating activities to conform to the current period presentation. There was no change to net cash used in operating activities. Operating results for interim periods are not necessarily indicative of the operating results for an entire fiscal year. The accompanying interim unaudited condensed consolidated financial statements include the accounts of Halozyme Therapeutics, Inc. and our wholly owned subsidiary, Halozyme, Inc., and Halozyme, Inc.’s wholly owned subsidiaries, Halozyme Holdings Ltd., Halozyme Royalty LLC, Halozyme Switzerland GmbH and Halozyme Switzerland Holdings GmbH. All intercompany accounts and transactions have been eliminated. Use of Estimates The preparation of interim unaudited condensed consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the amounts reported in our interim unaudited condensed consolidated financial statements and accompanying notes. On an ongoing basis, we evaluate our estimates and judgments, which are based on historical and anticipated results and trends and on various other assumptions that management believes to be reasonable under the circumstances. By their nature, estimates are subject to an inherent degree of uncertainty and, as such, actual results may differ from management’s estimates. Cash Equivalents and Marketable Securities Cash equivalents consist of highly liquid investments, readily convertible to cash, that mature within ninety days or less from the date of purchase. As of March 31, 2019 , our cash equivalents consisted of money market funds. Marketable securities are investments with original maturities of more than ninety days from the date of purchase that are specifically identified to fund current operations. Marketable securities are considered available-for-sale. These investments are classified as current assets, even though the stated maturity date may be one year or more beyond the current balance sheet date which reflects management’s intention to use the proceeds from the sale of these investments to fund our operations, as necessary. Such available-for-sale investments are carried at fair value with unrealized gains and losses recorded in other comprehensive income (loss) and included as a separate component of stockholders’ equity (deficit). The cost of marketable securities is adjusted for amortization of premiums or accretion of discounts to maturity, and such amortization or accretion is included in investment and other income, net in the interim unaudited condensed consolidated statements of operations. We use the specific identification method for calculating realized gains and losses on marketable securities sold. Realized gains and losses and declines in value judged to be other-than-temporary on marketable securities, if any, are included in investment and other income, net in the interim unaudited condensed consolidated statements of operations. Restricted Cash Under the terms of the leases of our facilities, we are required to maintain letters of credit as security deposits during the terms of such leases. At March 31, 2019 and December 31, 2018 , restricted cash of $0.5 million was pledged as collateral for the letters of credit. Fair Value of Financial Instruments The authoritative guidance for fair value measurements establishes a three tier fair value hierarchy, which prioritizes the inputs used in measuring fair value. These tiers include: Level 1, defined as observable inputs such as quoted prices in active markets; Level 2, defined as inputs other than quoted prices in active markets that are either directly or indirectly observable; and Level 3, defined as unobservable inputs in which little or no market data exists, therefore requiring an entity to develop its own assumptions. Our financial instruments include cash equivalents, available-for-sale marketable securities, accounts receivable, prepaid expenses and other assets, accounts payable, accrued expenses and long-term debt. Fair value estimates of these instruments are made at a specific point in time, based on relevant market information. These estimates may be subjective in nature and involve uncertainties and matters of significant judgment and therefore cannot be determined with precision. The carrying amount of cash equivalents, accounts receivable, prepaid expenses and other assets, accounts payable and accrued expenses are generally considered to be representative of their respective fair values because of the short-term nature of those instruments. Based on Level 3 inputs and the borrowing rates currently available for loans with similar terms, we believe the fair value of long-term debt approximates its carrying value. Available-for-sale marketable securities consist of asset-backed securities, corporate debt securities, U.S. Treasury securities and commercial paper, and are measured at fair value using Level 1 and Level 2 inputs. Level 2 financial instruments are valued using market prices on less active markets and proprietary pricing valuation models with observable inputs, including interest rates, yield curves, maturity dates, issue dates, settlement dates, reported trades, broker-dealer quotes, issue spreads, benchmark securities or other market related data. We obtain the fair value of Level 2 investments from our investment manager, who obtains these fair values from a third-party pricing source. We validate the fair values of Level 2 financial instruments provided by our investment manager by comparing these fair values to a third-party pricing source. Inventories Inventories are stated at lower of cost or net realizable value. Cost is determined on a first-in, first-out basis. Net realizable value is the estimated selling price in the ordinary course of business, less reasonably predictable costs of completion, disposal, and transportation. Inventories are reviewed periodically for potential excess, dated or obsolete status. We evaluate the carrying value of inventories on a regular basis, taking into account such factors as historical and anticipated future sales compared to quantities on hand, the price we expect to obtain for products in their respective markets compared with historical cost and the remaining shelf life of goods on hand. We capitalize inventory costs associated with our drug candidates prior to receipt of regulatory approval, based on management’s judgment of probable future commercialization. We would be required to expense these capitalized costs upon a change in such judgment, due to, among other factors, a decision denying approval of the drug candidate by regulatory agencies. Bulk rHuPH20 formulations manufactured for partner use prior to our partner receiving marketing approval from the U.S. Food and Drug Administration (“FDA”) or comparable regulatory agencies in foreign countries and with no alternative future use are recorded as research and development expense. All direct manufacturing costs incurred after the partner receives marketing approval are capitalized as inventory. Bulk rHuPH20 formulations manufactured for general partner and internal use, which can potentially be used by any collaboration partner or by us in any stage of development or in commercial product, and ENHANZE drug product used by our partners in clinical trials, is considered to have alternative future use and all manufacturing costs are capitalized as inventory. Inventories used in our clinical trials are expensed at the time the inventories are packaged for the clinical trials. As of March 31, 2019 and December 31, 2018 , inventories consisted of $2.4 million and $2.2 million , respectively, of Hylenex recombinant inventory, net and $28.8 million and $20.4 million , respectively, of bulk rHuPH20. Leases The Company has entered into operating leases primarily for real estate and automobiles. These leases have terms which range from 3 years to 6 years . We determine if an arrangement contains a lease at inception. Right of use (“ROU”) assets and liabilities resulting from operating leases are included in property and equipment, accrued expenses and other long-term liabilities on our consolidated balance sheets. Operating lease ROU assets and liabilities are recognized based on the present value of the future minimum lease payments over the lease term at commencement date. As most of our leases do not provide an implicit rate, we use our incremental borrowing rate based on the information available at commencement date in determining the discount rate to calculate the present value of future payments. The operating lease ROU asset also includes any lease payments made and excludes lease incentives and initial direct costs incurred. Our leases often include options to extend or terminate the lease. These options are included in the lease term when it is reasonably certain that we will exercise that option. As of March 31, 2019 it is not reasonably certain that these options will be exercised and they are not included within the lease term. Short-term leases with an initial term of 12 months or less are not recorded on the balance sheet. Lease expense for minimum lease payments is recognized on a straight-line basis over the lease term. We have lease agreements with lease and non-lease components, which are generally accounted for separately. For certain equipment leases, such as automobiles, we account for the lease and non-lease components as a single lease component. Revenue Recognition We generate revenues from payments received under collaborative agreements and product sales. We recognize revenue when we transfer promised goods or services to customers in an amount that reflects the consideration to which we expect to be entitled in exchange for those goods or services. To determine revenue recognition for contracts with customers we perform the following five steps: (i) identify the promised goods or services in the contract; (ii) identify the performance obligations in the contract, including whether they are distinct in the context of the contract; (iii) determine the transaction price, including the constraint on variable consideration; (iv) allocate the transaction price to the performance obligations in the contract; and (v) recognize revenue when (or as) we satisfy the performance obligations. Royalties and Revenues under Collaborative Agreements Under these agreements, we grant the collaboration partner a worldwide license to develop and commercialize products using our ENHANZE technology to combine our patented rHuPH20 enzyme with their proprietary biologics directed at up to a specified number of targets. Targets are usually licensed on an exclusive, global basis. Targets selected subsequent to inception of the arrangement require payment of an additional license fee. The collaboration partner is responsible for all development, manufacturing, clinical, regulatory, sales and marketing costs for any products developed under the agreement. We are responsible for supply of bulk rHuPH20 based on the collaboration partner’s purchase orders and may also be separately engaged to perform research and development services. We collect an upfront license payment from the collaboration partner and are also entitled to receive event-based payments subject to the collaboration partner’s achievement of specified development, regulatory and sales-based milestones. In several agreements, collaboration partners pay us annual fees to maintain their exclusive license rights if they are unable to advance product development to specified stages. We earn separate fees for bulk rHuPH20 supplies and research and development services. In addition, the collaboration partner will pay us royalties at an on average mid-single digit percent rate of their sales if products under the collaboration are commercialized. All amounts owed to us are noncancelable after the underlying triggering event occurs, and nonrefundable once paid. Unless terminated earlier in accordance with its terms, the collaboration generally continues in effect until the later of: (i) expiration of the last to expire of the valid claims of our patents covering rHuPH20 or other specified patents developed under the collaboration which valid claim covers a product developed under the collaboration, and (ii) expiration of the last to expire royalty term for a product developed under the collaboration, which is determined separately for each country. In the event such valid claims expire prior to the last to expire royalty term, the royalty rate is reduced for the remaining royalty term following such expiration. The collaboration partner may terminate the agreement prior to expiration for any reason in its entirety or on a target-by-target basis generally upon 90 days prior written notice to us. Upon any such termination, the license granted to the collaboration partner (in total or with respect to the terminated target, as applicable) will terminate provided, however, that in the event of expiration of the agreement, the licenses granted will become perpetual, non-exclusive and fully paid. Although these agreements are in form structured as collaborative agreements, we concluded for accounting purposes they represent contracts with customers, and are not subject to accounting literature on collaborative arrangements. This is because we grant to collaboration partners licenses to our intellectual property, and provide supply of bulk rHuPH20 and research and development services which are all outputs of our ongoing activities, in exchange for consideration. We do not develop assets jointly with collaboration partners, and do not share in significant risks of their development or commercialization activities. Under all of our collaborative agreements, we have identified licenses to use functional intellectual property as the only performance obligation. The intellectual property underlying the license is our proprietary ENHANZE technology which represents application of rHuPH20 to facilitate delivery of drugs or fluids. The license grants the collaboration partners right to use our intellectual property as it exists on the effective date of the license, because there is no ongoing development of the ENHANZE technology required. Therefore, we recognize revenue from licenses at the point when the license becomes effective and the collaboration partner has received access to our intellectual property, usually at the inception of the agreement. When collaboration partners can select additional targets to add to the licenses granted, we consider these rights to be options. We evaluate whether such options contain material rights, i.e. have exercise prices that are discounted compared to what we would charge for a similar license to a new collaboration partner. The exercise price of these options includes a combination of the target selection fees, event-based milestone payments and royalties. When these amounts in aggregate are not offered at a discount that exceeds discounts available to other customers, we conclude the option does not contain a material right, and we consider grants of additional licensing rights upon option exercises to be separate contracts (target selection contracts). We provide standard indemnification and protection of licensed intellectual property for our customers. These provisions are part of assurance that the licenses meet the agreements representations and are not obligations to provide goods or services. We also fulfill purchase orders for supply of bulk rHuPH20 and perform research and development services pursuant to projects authorization forms for our collaboration partners, which represent separate contracts. Additionally, we price our supply of bulk rHuPH20 and research and development services at our regular selling prices, called standalone selling price or SSP. Therefore, our collaboration partners do not have material rights to order these items at prices not reflective of SSP. Refer to the discussion below regarding recognition of revenue for these separate contracts. Transaction price for a contract represents the amount to which we are entitled in exchange for providing goods and services to the customer. Transaction price does not include amounts subject to uncertainties unless it is probable that there will be no significant reversal of revenue when the uncertainty is resolved. Apart from the upfront license payment (or target selection fees in the target selection contracts), all other fees we may earn under our collaborative agreements are subject to significant uncertainties of product development. Achievement of many of the event-based development and regulatory milestones may not be probable until such milestones are actually achieved. This generally relates to milestones such as obtaining marketing authorization approvals and successful completion of clinical trials. With respect to other development milestones, e.g. dosing of a first patient in a clinical trial, achievement could be considered probable prior to its actual occurrence, based on the progress towards commencement of the trial. We do not include any amounts subject to uncertainties into the transaction price until it is probable that the amount will not result in a significant reversal of revenue in the future. At the end of each reporting period, we re-evaluate the probability of achievement of such milestones and any related constraint, and if necessary, adjust our estimate of the overall transaction price. When target exchange rights are held by collaboration partners, and the amounts attributed to these rights are not refundable, they are included in the transaction price. However, they are recorded as deferred revenues because we have a potential performance obligation to provide a new target if the exchange right is exercised. These amounts are recognized in revenue when the right of exchange expires or is exercised. Because our agreements only have one type of performance obligation (licenses) which are typically all transferred at the same time at agreement inception, allocation of transaction price often is not required. However, allocation is required when licenses for some of the individual targets are subject to rights of exchange, because revenue associated with these targets cannot be recognized. We perform an allocation of the upfront amount based on relative SSP of licenses for individual targets. We determine license SSP using income-based valuation approach utilizing risk-adjusted discounted cash flow projections of the estimated return a licensor would receive. When amounts subject to uncertainties, such as milestones and royalties, are included in the transaction price, we attribute them to the specific individual target licenses which generate such milestone or royalty amounts. We also estimate SSP of bulk rHuPH20 and research and development services, to determine that our collaboration partners do not have material rights to order them at discounted prices. For supplies of bulk rHuPH20, because we effectively act as a contract manufacturer to our collaboration partners, we estimate and charge SSP based on the typical contract manufacturer margins consistently with all of our collaborative partners. We determine SSP of research and development services based on a fully-burdened labor rate. Our rates are comparable to those we observe in other collaborative agreements. We also have a history of charging similar rates to all of our collaboration partners. Upfront amounts allocated to licenses to individual targets are recognized as revenue when the license is transferred to the collaboration partner, as discussed above, if the license is not subject to exchange rights, or when the exchange right expires or is exercised. Development milestones and other fees are recognized in revenue when they are included in the transaction price, because by that time we have already transferred the related license to the collaboration partner. Sales-based milestones and royalties cannot be recognized until the underlying sales occur. We do not receive final royalty reports from our collaboration partners until after we complete our financial statements for a prior quarter. Therefore, we recognize revenue based on estimates of the royalty earned, which are based on preliminary reports provided by our collaboration partners. We will record a true-up in the following quarter if necessary, when final royalty reports are received. To date, we have not recorded any material true-ups. In contracts to provide research and development services, such services represent the only performance obligation. The fees are charged based on hours worked by our employees and the fixed contractual rate per hour, plus third-party pass-through costs, on a monthly basis. We recognize revenues as the related services are performed based on the amounts billed, as the collaboration partner consumes the benefit of research and development work simultaneously as we perform these services, and the amounts billed reflect the value of these services to the customer. Refer to Note 4 Revenue , for further discussion on our collaborative arrangements. Product Sales, Net Hylenex Recombinant We sell Hylenex recombinant in the U.S. to wholesale pharmaceutical distributors, who sell the product to hospitals and other end-user customers. Sales to wholesalers are made pursuant to purchase orders subject to the terms of a master agreement, and delivery of individual packages of Hylenex recombinant represent performance obligations under each purchase order. We use a contract manufacturer to produce Hylenex recombinant and a third-party logistics (3PL) vendor to process and fulfill orders . We concluded we are the principal in the sales to wholesalers because we control access to services rendered by both vendors and direct their activities. We have no significant obligations to wholesalers to generate pull-through sales. Selling prices initially billed to wholesalers are subject to discounts for prompt payment and subsequent chargebacks when wholesalers sell Hylenex recombinant at negotiated discounted prices to members of certain group purchasing organizations (“GPOs”) and government programs. We also pay quarterly distribution fees to certain wholesalers for inventory reporting and chargeback processing, and to GPOs as administrative fees for services and for access to GPO members. We concluded the benefits received in exchange for these fees are not distinct from our sales of Hylenex recombinant, and accordingly we apply these amounts to reduce revenues. Wholesalers also have rights to return unsold product nearing or past the expiration date. Because of the shelf life of Hylenex recombinant and our lengthy return period, there may be a significant period of time between when the product is shipped and when we issue credits on returned product. We estimate the transaction price when we receive each purchase order taking into account the expected reductions of the selling price initially billed to the wholesaler arising from all of the above factors. We have compiled historical experience and data to estimate future returns and chargebacks of Hylenex recombinant and the impact of the other discounts and fees we pay. When estimating these adjustments to the transaction price, we reduce it sufficiently to be able to assert that it is probable that there will be no significant reversal of revenue when the ultimate adjustment amounts are known. Each purchase order contains only one type of product and is usually shipped to the wholesaler in a single shipment. Therefore, allocation of the transaction price to individual packages is not required. We recognize revenue from Hylenex recombinant product sales and related cost of sales upon product delivery to the wholesaler location. At that time, the wholesalers take control of the product as they take title, bear the risk of loss of ownership, and have an enforceable obligation to pay us. They also have the ability to direct sales of product to their customers on terms and at prices they negotiate. Although wholesalers have product return rights, we do not believe they have a significant incentive to return the product to us. Upon recognition of revenue from product sales of Hylenex recombinant, the estimated amounts of credit for product returns, chargebacks, distribution fees, prompt payment discounts, and GPO fees are included in sales reserves, accrued liabilities and net of accounts receivable. We monitor actual product returns, chargebacks, discounts and fees subsequent to the sale. If these amounts differ from our estimates, we make adjustments to these allowances, which are applied to increase or reduce product sales revenue and earnings in the period of adjustment. In connection with the orders placed by wholesalers, we incur costs such as commissions to our sales representatives. However, as revenue from product sales is recognized upon delivery to the wholesaler, which occurs shortly after we receive a purchase order, we do not capitalize these commissions and other costs, based on application of the practical expedient allowed within the applicable guidance. Bulk rHuPH20 We sell bulk rHuPH20 to collaboration partners for use in research and development; subsequent to receiving marketing approval, we sell it for use in collaboration commercial products. Sales are made pursuant to purchase orders subject to the terms of the collaborative agreement, and delivery of units of bulk rHuPH20 represent performance obligations under each purchase order. We provide a standard warranty that the product conforms to specifications. We use a contract manufacturer to produce bulk rHuPH20 and have concluded we are the principal in the sales to collaboration partners. The transaction price for each purchase order of bulk rHuPH20 is fixed based on the cost of production plus a contractual markup and is not subject to adjustments. Allocation of the transaction price to individual quantities of the product is usually not required because each order contains only one type of product. We recognize revenue from the sale of bulk rHuPH20 as product sales and related cost of sales upon transfer of title to our partners. At that time, the partners take control of the product, bear the risk of loss of ownership, and have an enforceable obligation to pay us. ENHANZE Drug Product We sell ENHANZE drug product to collaboration partners for use in research and development in early phase clinical studies. Sales are made pursuant to purchase orders subject to the terms of the collaborative agreement, and delivery of units of ENHANZE drug product represent performance obligations under each purchase order. We provide a standard warranty that the product conforms to specifications. We use a contract manufacturer to produce ENHANZE drug product and we concluded we are the principal in the sales to collaboration partners. The transaction price for each purchase order of ENHANZE drug product is fixed based on the cost of production plus a contractual markup and is not subject to adjustments. Allocation of the transaction price to individual quantities of the product is usually not required because each order contains only one type of product. We recognize revenue from the sale of ENHANZE drug product as product sales and related cost of sales upon transfer of title to our partners. At that time, the partners take control of the product, bear the risk of loss of ownership, and have an enforceable obligation to pay us. Revenue Presentation In our statements of operations, we report as revenues under collaborative agreements the upfront payments, event-based development and regulatory milestones and sales milestones. We also include in this category revenues from separate research and development contracts pursuant to project authorization forms and sales of bulk rHuPH20 that has no alternative future use. We report royalties received from collaboration partners as a separate line in our statements of operations. Revenues from sales of Hylenex recombinant, bulk rHuPH20 that has alternative future use and ENHANZE drug product are included in product sales, net. In footnotes to our financial statements, we provide disaggregated revenue information by type of arrangement (product sales, net, collaborative agreements and research and development services), and additionally, by type of payment stream received under collaborative agreements (upfront license fees, event-based development and regulatory milestones and other fees, sales milestones and royalties). Cost of Product Sales Cost of product sales consists primarily of raw materials, third-party manufacturing costs, fill and finish costs, freight costs, internal costs and manufacturing overhead associated with the production of Hylenex recombinant and bulk rHuPH20 and ENHANZE drug product that has alternative future use. Cost of product sales also consists of the write-down of excess, dated and obsolete inventories and the write-off of inventories that do not meet certain product specifications, if any. Prior to bulk rHuPH20 and ENHANZE drug product having alternative future use, all costs related to the manufacturing of those products were charged to research and development expenses in the periods such costs were incurred. During the three months ended March 31, 2019 , sales of bulk rHuPH20 and ENHANZE drug product included $0.2 million of cost of sales that were previously expensed as research and development. Of the bulk rHuPH20 and ENHANZE drug product that has alternative future use on hand as of March 31, 2019 , approximately $1.4 million in manufacturing costs were previously recorded as research and development expenses. We expect to sell this inventory by the end of 2020. Research and Development Expenses Research and development expenses include salaries and benefits, facilities and other overhead expenses, external clinical trial expenses, research related manufacturing services, contract services and other outside expenses. Research and development expenses are charged to operating expenses as incurred when these expenditures relate to our research and development efforts and have no alternative future uses. When bulk rHuPH20 is manufactured for use in research and development by us or our partners and the product cannot be redirected for alternative use due to formulation and manufacturing specifications, the manufacturing costs are recorded as research and development expense. Bulk rHuPH20 that is manufactured for partner use prior to our partner receiving marketing approval from the FDA or comparable regulatory agencies in foreign countries and meet these specifications is recorded as research and development expenses. Bulk rHuPH20 formulations manufactured for general partner and internal use, which can potentially be used by any collaboration partner or by us in any stage of development or in commercial products, is considered to have alternative future use and all manufacturing costs are capitalized as inventory. Inventories used in our clinical trials are expensed at the time the inventories are packaged for the clinical trials. We are obligated to make upfront payments upon execution of certain research and development agreements. Advance payments, including nonrefundable amounts, for goods or services that will be used or rendered fo |