Revenue | Revenue Collaborative and Other Agreements Incyte Corporation Incyte License Agreement In 2017, the Company entered into an exclusive global collaboration and license agreement with Incyte , which was amended in March 2018, April 2022 and July 2022, for retifanlimab, an investigational monoclonal antibody that inhibits PD-1 (Incyte License Agreement). Incyte has obtained exclusive worldwide rights for the development and commercialization of retifanlimab in all indications, while the Company retains the right to develop its pipeline assets in combination with retifanlimab. Under the terms of the Incyte License Agreement, Incyte paid the Company an upfront payment of $150.0 million in 2017. MacroGenics will manufacture a portion of Incyte’s global commercial supply of retifanlimab. In March 2023, the FDA approved Incyte's Biologics License Application (BLA) for ZYNYZ (retifanlimab-dlwr) for the treatment of adults with metastatic or recurrent locally advanced Merkel cell carcinoma. Incyte has stated it is pursuing development of retifanlimab in potentially registration-enabling studies, including in patients with squamous cell carcinoma of the anal canal, MSI-high endometrial cancer and non-small cell lung cancer. Incyte is also pursuing development of retifanlimab in combination with multiple product candidates from its pipeline. Under the terms of the Incyte License Agreement, as amended, Incyte will lead global development of retifanlimab. Assuming successful development and commercialization by Incyte in multiple indications, the Company could receive up to a total of $435.0 million in development and regulatory milestones and up to $330.0 million in commercial milestones. From the inception of the Incyte License Agreement through September 30, 2023 , the Company has recognized $115.0 million in development milestones under the Incyte License Agreement, including $15.0 million received following the FDA approval of ZYNYZ. The Company is also eligible to receive tiered royalties of 15% to 24% on global net sales. The Company retains the right to develop its pipeline assets in combination with retifanlimab, with Incyte commercializing retifanlimab and the Company commercializing its asset(s), if any such potential combinations are approved. In addition, the Company retains the right to manufacture a portion of both companies' global commercial supply needs of retifanlimab, subject to the separate commercial supply agreement. The Company evaluated the Incyte License Agreement under the provisions of Accounting Standards Codification Topic 606, Revenue from Contracts with Customers (ASC 606) at inception and identified the following two performance obligations under the agreement: (i) the license of retifanlimab and (ii) the performance of certain clinical activities through a brief technology transfer period. The Company determined that the license and clinical activities are separate performance obligations because they are capable of being distinct and are distinct in the context of the contract. The license has standalone functionality as it is sublicensable, Incyte has significant capabilities in performing clinical trials, and Incyte is capable of performing these activities without the Company's involvement; the Company performed the activities during the transfer period as a matter of convenience. The Company determined that the transaction price of the Incyte License Agreement at inception was $154.0 million, consisting of the consideration to which the Company was entitled in exchange for the license and an estimate of the consideration for clinical activities to be performed. The transaction price was allocated to each performance obligation based on their relative standalone selling price. The standalone selling price of the license was determined using the adjusted market assessment approach considering similar collaboration and license agreements. The standalone selling price for the agreed-upon clinical activities to be performed was determined using the expected cost approach based on similar arrangements the Company has with other parties. The potential development and regulatory milestone payments are fully constrained until the Company concludes that achievement of the milestone is probable, and that recognition of revenue related to the milestone will not result in a significant reversal in amounts recognized in future periods, and as such have been excluded from the transaction price. Any consideration related to sales-based milestones and royalties will be recognized when the related sales occur, as they were determined to relate predominantly to the license granted to Incyte and, therefore, have also been excluded from the transaction price. The Company re-assesses the transaction price in each reporting period and when events whose outcomes are resolved or other changes in circumstances occur. From 2018 through September 30, 2023 , it became probable that a significant reversal of cumulative revenue would not occur for development milestones totaling $115.0 million related to clinical and regulatory activities related to the further advancement of retifanlimab . Therefore, the associated consideration was added to the estimated transaction price and was recognized as revenue . The Company recognized the $150.0 million allocated to the license when it satisfied its performance obligation and transferred the license to Incyte in 2017. The $4.0 million allocated to the clinical activities was recognized ratably as services were performed during 2017 and 2018. The Company recognized the $15.0 million ZYNYZ approval milestone as revenue under the Incyte License Agreement during the nine months ended September 30, 2023. $30.0 million in revenue was recognized under the Incyte License Agreement during the three and nine months ended September 30, 2022. Incyte Clinical Supply Agreement In 2018, the Company entered into an agreement with Incyte, under which the Company is to perform development and manufacturing services for Incyte’s clinical needs of retifanlimab (Incyte Clinical Supply Agreement). The Company evaluated the Incyte Clinical Supply Agreement under ASC 606 and identified one performance obligation under the agreement: to perform services related to the development and manufacturing of the clinical supply of retifanlimab. The transaction price is based on the costs incurred to develop and manufacture drug product and drug substance, and is recognized over time as the services are provided, as the performance by the Company does not create an asset with an alternative use and the Company has an enforceable right to payment for the performance completed to date. The transaction price is being recognized using the input method reflecting the costs incurred (including resources consumed and labor hours expended) related to the manufacturing services. During the three months ended September 30, 2023 and 2022, the Company recognized revenue of $0.2 million and $0.1 million, respectively, for services performed under the Incyte Clinical Supply Agreement. During the nine months ended September 30, 2023 and 2022, the Company recognized revenue of $1.7 million and $0.6 million, respectively, for services performed under the Incyte Clinical Supply Agreement. Gilead Sciences, Inc In October 2022, the Company and Gilead Sciences, Inc. (Gilead) entered into an exclusive option and collaboration agreement (Gilead Agreement) to develop and commercialize MGD024, an investigational, bispecific antibody that binds CD123 and CD3, and create bispecific cancer antibodies using the Company’s DART platform and undertake their early development under a maximum of two separate bispecific cancer target research programs. Under the agreement, the Company will continue the ongoing phase 1 trial for MGD024 accordi ng to a development plan , during which Gilead will have the right to exercise an option granted to Gilead to obtain an exclusive license under the Company’s intellectual property to develop and commercialize MGD024 and other bispecific antibodies of MacroGenics that bind CD123 and CD3 (CD123 Option). The agreement also grants Gilead the right, within its first two years, to nominate a bispecific cancer target set for up to two research programs conducted by the Company and to exercise separate options to obtain an exclusive license for the development, commercialization and exploitation of molecules created under each research program (Research Program Option). Gilead nominated the first of the two research programs in September 2023. Under the terms of the Gilead Agreement, in October 2022 Gilead paid the Company an upfront payment of $60.0 million . Assuming Gilead exercises the CD123 Option and Research Program Option and successfully develops and commercializes MGD024, or other CD123 products developed under the agreement, and products result from the two additional research programs, the Company would be eligible to receive up to $1.7 billion in target nomination, option fees, and development, regulatory and commercial milestones. Assuming exercise of the CD123 Option, the Company will also be eligible to receive tiered, low double-digit royalties on worldwide net sales of MGD024 (or other CD123 products developed under the agreement) and assuming exercise of the Research Program Option, a flat royalty on worldwide net sales of any products resulting from the two research programs. The Company evaluated the Gilead Agreement under the provisions of ASC 606 and identified the following material promises under the agreement: (i) a license to perform any activities allocated to Gilead under the MGD024 development plan ; (ii) development activities regarding MGD024, including manufacturing, research and early clinical development activities, necessary to deliver an informational package of development and clinical data, information and materials specified in the Gilead Agreement during the period in which Gilead can exercise the CD123 Option; (iii) the CD123 Option and (iv) the Research Program Option . The Company concluded that the license under the MGD024 developme nt plan and development activities are not distinct from one another, as the license has limited value without the Company’s performance of the development activities. Therefore, the Company determined that the development term license and development activities should be combined into a single performance obligation (Development Activities). The CD123 Option is considered a material right as the value of the exclusive license exceeds the payment to be made by Gilead if they exercise their option to obtain an exclusive license to develop and commercialize MGD024 or an alternative CD123 product, and is therefore a distinct performance obligation. The Company determined that the Research Program Option does not provide a material right, as there is no discount on its standalone selling price. In accordance with ASC 606, the Company determined that the initial transaction price under the Gilead Agreement was $60.0 million, consisting of the upfront, non-refundable payment paid by Gilead. The CD123 Option and Research Program Option payments are excluded from the initial transaction price at contract inception along with any future development, regulatory, and commercial milestone payments (including royalties) following the CD123 Option and Research Program Option exercise. The Company reassesses the amount of variable consideration included in the transaction price every reporting period. The Company allocated the $60.0 million upfront payment in the transaction price to the Development Activities and the CD123 Option based on each performance obligation’s relative standalone selling price. The standalone selling price for the Development Activities was calculated using an expected cost-plus margin approach for the pre-option development timeline. For the standalone selling price of the CD123 Option, the Company utilized an income-based approach which included the following key assumptions: post-option development timeline and costs, forecasted revenues, discount rates and probabilities of technical and regulatory success. The Company is recognizing revenue related to the Development Activities performance obligation over the estimated period to complete the Development Activities using an input method reflecting the costs incurred (including resources consumed and labor hours expended) related to the Development Activities. The Company will defer revenue recognition related to the CD123 Option. If Gilead exercises the CD123 Option and obtains an exclusive license, the Company will recognize revenue as it fulfills its obligations under the Gilead Agreement. If the CD123 Option is not exercised, the Company will recognize the entirety of the revenue in the period when the CD123 Option expires. During the three and nine months ended September 30, 2023, the Company recorded revenue of $0.4 million and $1.0 million, respectively, related to the Gilead Agreement. As of September 30, 2023, $58.9 million in revenue was deferred under this agreement, $2.2 million of which was current and $56.7 million of which was non-current. As of December 31, 2022, $59.8 million in revenue was deferred under this agreement, $1.8 million of which was current and $58.0 million of which was non-current. During the three months ended September 30, 2023, the Company and Gilead executed a Letter Agreement through which Gilead nominated the first of the two research programs contemplated in the Gilead Agreement (First Research Program), the Company granted Gilead a research license, and the parties agreed on a research plan for the First Research Program under which the Company will provide research and development services. Gilead paid the Company a $15.7 million nomination fee, which was received by the Company in October 2023. The Company evaluated the Letter Agreement under the terms of ASC 606, and concluded that it is a modification to the Gilead Agreement that results in a separate contract since the modification is for additional goods and services that are distinct and at standalone selling price. The Company determined that the license and the related research and development activities were not distinct from one another, as the license has limited value without the performance of the research and development activities. As such, the Company determined that these should be combined into a single performance obligation. Gilead also has the exclusive option to pay the Company $10.0 million to obtain a license to exploit the research molecule and research product with respect to the First Research Program. The Company determined that this exclusive option does not provide a material right, as there is no discount on its standalone selling price. In accordance with ASC 606, the Company determined that the initial transaction price for the First Research Program agreement was $15.7 million, consisting of the non-refundable payment paid by Gilead. The Company is recognizing revenue over the estimated period to complete the services using the input method reflecting the costs incurred (including resources consumed and labor hours expended) related to the research and development services. During the three and nine months ended September 30, 2023, the Company recorded revenue of $0.1 million related to the First Research Program. As of September 30, 2023, $15.6 million in revenue was deferred under this agreement, $10.0 million of which was current and $5.6 million of which was non-current. Zai Lab Limited 2018 Zai Lab Agreement In 2018, the Company entered into a collaboration and license agreement with Zai Lab Limited (Zai Lab) under which Zai Lab obtained regional development and commercialization rights in mainland China, Hong Kong, Macau and Taiwan (Zai Lab’s territory) for (i) margetuximab, an immune-optimized anti-HER2 monoclonal antibody, (ii) tebotelimab, a bispecific DART® molecule designed to provide coordinate blockade of PD-1 and LAG-3 for the potential treatment of a range of solid tumors and hematological malignancies, and (iii) an undisclosed multi-specific TRIDENT molecule in preclinical development (2018 Zai Lab Agreement). Zai Lab will lead clinical development of these molecules in its territory. Zai Lab has informed the Company that they have decided to discontinue development of tebotelimab for indications they were enrolling in their territory and is evaluating future development plans in other indications. Under the terms of the 2018 Zai Lab Agreement, Zai Lab paid the Company an upfront payment of $25.0 million ($22.5 million after netting value-added tax withholdings of $2.5 million). Assuming successful development and commercialization of margetuximab, tebotelimab and the TRIDENT molecule, the Company could receive up to $140.0 million in development and regulatory milestones, of which the Company has earned and received $9.0 million through September 30, 2023. In addition, Zai Lab would pay the Company tiered royalties at percentage rates of mid-teens to 20% for net sales of margetuximab in Zai Lab’s territory, mid-teens for net sales of tebotelimab in Zai Lab’s territory and 10% for net sales of the TRIDENT molecule in Zai Lab’s territory, which may be subject to adjustment in specified circumstances. The Company evaluated the 2018 Zai Lab Agreement under the provisions of ASC 606 and identified the following material promises under the arrangement for each of the two product candidates, margetuximab and tebotelimab: (i) an exclusive license to develop and commercialize the product candidate in Zai Lab’s territory and (ii) certain research and development activities. The Company determined that each license and the related research and development activities were not distinct from one another, as the license has limited value without the performance of the research and development activities. As such, the Company determined that these promises should be combined into a single performance obligation for each product candidate. Activities related to margetuximab and tebotelimab are separate performance obligations from each other because they are capable of being distinct, and are distinct in the context of the contract. The Company evaluated the promises related to the TRIDENT molecule and determined they were immaterial in context of the contract, therefore there is no performance obligation related to that molecule. The Company determined that the net $22.5 million upfront payment from Zai Lab constituted the entirety of the consideration to be included in the transaction price as of the outset of the arrangement, and the transaction price was allocated to the two performance obligations based on their relative standalone selling price. The standalone selling price of the performance obligations was determined using the adjusted market assessment approach considering similar collaboration and license agreements. The potential development and regulatory milestone payments are fully constrained until the Company concludes that achievement of the milestone is probable, and that recognition of revenue related to the milestone will not result in a significant reversal in amounts recognized in future periods, and as such have been excluded from the transaction price. Any consideration related to royalties will be recognized if and when the related sales occur, as they were determined to relate predominantly to the license granted to Zai Lab and, therefore, have also been excluded from the transaction price. The Company re-assesses the transaction price in each reporting period and when events whose outcomes are resolved or other changes in circumstances occur. From 2020 through September 30, 2023 , it became probable that a significant reversal of cumulative revenue would not occur for development and regulatory milestones totaling $9.0 million. Therefore, the associated consideration, $8.1 million net of value-added tax withholdings, was added to the estimated transaction price and was recognized as revenue . No revenue was recognized under the 2018 Zai Lab Agreement during the three and nine months ended September 30, 2023. During the three months ended September 30, 2022, no revenue was recognized, and during the nine months ended September 30, 2022, the Company recognized revenue of $4.9 million under the 2018 Zai Lab Agreement. 2021 Zai Lab Agreement In June 2021, the Company entered into a collaboration and license agreement with Zai Lab US LLC (collectively with Zai Lab Limited referred herein as Zai Lab) involving collaboration programs and license-only programs (collectively, the Programs) encompassing four separate immuno-oncology molecules (2021 Zai Lab Agreement). In August 2022, the Company and Zai Lab agreed to discontinue research and development of the Lead Program. In August 2023, the parties mutually agreed to terminate the 2021 Zai Lab Agreement. In connection with the execution of the 2021 Zai Lab Agreement, Zai Lab paid the Company an upfront payment of $25.0 million. Additionally, as part of the consideration for the rights granted to Zai Lab under the 2021 Zai Lab Agreement, the Company and Zai Lab entered into a stock purchase agreement whereby Zai Lab paid the Company approximately $30.0 million to purchase shares of the Company’s common stock, par value $0.01, at a fixed price of $31.30 which represented a $10.4 million premium over the share price on the stock purchase agreement date. The Company evaluated the 2021 Zai Lab Agreement under the provisions of ASC 606 and identified four performance obligations included in the 2021 Zai Lab Agreement.The Company concluded that the estimated transaction price was $40.4 million, consisting of the $25.0 million upfront payment, the $10.4 million premium related to the purchase of the Company’s common stock, and the $5.0 million estimated reimbursement by Zai Lab for research and development activities for the Lead Program. The transaction price of $40.4 million was then allocated to the four performance obligations based on their relative standalone selling price. The standalone selling price of the performance obligations was not directly observable; therefore, the Company estimated the standalone selling price using an adjusted market assessment approach, representing the amount that the Company believed a market participant was willing to pay for the product or service. The estimate was based on consideration of observable inputs, such as values of other preclinical collaboration arrangements adjusted for the Company’s estimate of the probability of success for each Program. Revenue related to the Lead Program license and related research and development services performance obligation was recognized over time as the research and development activities were performed. The Company utilized a cost-based input method according to costs incurred to date compared to estimated total costs. The transfer of control occured over this time period and, in management’s judgment, was the best measure of progress towards satisfying the performance obligations. The Company recognized revenue allocated to the other programs at a point in time upon transfer of the licenses to Zai Lab in 2021. During the three and nine months ended September 30, 2023, no revenue was recognized under the 2021 Zai Lab Agreement. During the three and nine months ended September 30, 2022, the Company recognized revenue of $1.8 million and $16.8 million, respectively, under the 2021 Zai Lab Agreement. Provention Bio, Inc. In 2018, the Company entered into a license agreement with Provention pursuant to which the Company granted Provention exclusive global rights for the purpose of developing and commercializing MGD010 (renamed PRV-3279), a CD32B x CD79B DART molecule being developed for the treatment of autoimmune indications (Provention License Agreement). As partial consideration for the Provention License Agreement, Provention granted the Company a warrant to purchase shares of Provention’s common stock at an exercise price of $2.50 per share. If Provention successfully develops, obtains regulatory approval for, and commercializes PRV-3279, the Company will be eligible to receive up to $65.0 million in development and regulatory milestones and up to $225.0 million in commercial milestones. As of September 30, 2023, the Company has not recognized any milestone revenue under this agreement. If commercialized, the Company would be eligible to receive single-digit royalties on net sales of the product. The license agreement may be terminated by either party upon a material breach or bankruptcy of the other party, by Provention without cause upon prior notice to the Company, and by the Company in the event that Provention challenges the validity of any licensed patent under the agreement, but only with respect to the challenged patent. Also, in 2018, the Company entered into the Provention APA pursuant to which Provention acquired the Company’s interest in teplizumab (renamed PRV-031), a monoclonal antibody being developed for the treatment of type 1 diabetes. As partial consideration for the Provention APA, Provention granted the Company a warrant to purchase shares of Provention’s common stock at an exercise price of $2.50 per share. Under the Provention APA, Provention is obligated to pay the Company contingent milestone payments totaling $170.0 million upon the achievement of certain regulatory milestones. In addition, Provention is obligated to make contingent milestone payments to the Company totaling $225.0 million upon the achievement of certain commercial milestones as well as single-digit royalties on net sales of the product. In March 2023, the Company entered into a Royalty Purchase Agreement with DRI; see Note 6, Royalty Monetization Arrangement, for additional information. The FDA approved the BLA for TZIELD in November 2022, and the Company recognized $60.0 million in revenue related to this regulatory milestone during the year ended December 31, 2022. In November 2022, the Company and Provention amended the Provention APA. Under this amendment, the milestone for first approval was split into four equal payments, all of which were received prior to June 30, 2023. Provention has also agreed to pay third-party obligations, including low single-digit royalties of which a portion is creditable against royalties payable to the Company, aggregate milestone payments of up to approximately $1.3 million and other consideration, for certain third-party intellectual property under agreements Provention assumed pursuant to the Provention APA. Further, Provention is required to pay the Company a low double-digit percentage of certain consideration to the extent it is received in connection with a future grant of rights to PRV-031 by Provention to a third party. The Company evaluated the Provention License Agreement and Provention APA under the provisions of ASC 606 and determined that they should be accounted for as a single contract and identified two performance obligations within that contract: (i) the license of MGD010 and (ii) the title to teplizumab. The Company determined that the transaction price of the Provention agreements was $6.1 million, based on the Black-Scholes valuation of the warrants to purchase a total of 2,432,688 shares of Provention's common stock. The transaction price was allocated to each performance obligation based on the number of shares of common stock the Company is entitled to purchase under each warrant. The potential development and regulatory milestone payments are fully constrained until the Company concludes that achievement of the milestone is probable and that recognition of revenue related to the milestone will not result in a significant reversal in amounts recognized in future periods, and as such were excluded from the initial transaction price. Any consideration related to sales-based milestones and royalties will be recognized when the related sales occur, therefore they have also been excluded from the transaction price. The Company re-assesses the transaction price in each reporting period and when events whose outcomes are resolved or other changes in circumstances occur. The Company recognized revenue of $6.1 million when it satisfied its performance obligations under the agreements and transferred the MGD010 license and teplizumab assets to Provention in 2018. In 2019, the Company exercised the warrants on a cashless basis, and subsequently sold all the shares of Provention common stock acquired through the exercise. No shares of Provention stock were held subsequent to the sale of stock in 2019. During the year ended December 31, 2022, it became probable that a significant reversal of cumulative revenue would not occur for a regulatory milestone of $60.0 million , t herefore the associated consideration was added to the estimated transaction price and was recognized as revenue. On April 27, 2023, Sanofi completed its acquisition of Provention. Concurrently on April 27, 2023, the Company entered into a Tripartite Agreement, as discussed in Note 6, Royalty Monetization Arrangement. Also on April 27, 2023, the Company and a subsidiary of Sanofi entered into a Side Letter Agreement which specified certain post-closing covenants and also accelerated certain payments due to the Company under the Provention APA upon the closing of the merger between Sanofi and Provention. The Company evaluated the Side Letter Agreement as a contract modification under the provisions of ASC 606. As a result, during the nine months ended September 30, 2023 , the Company recognized $5.5 million related to other consideration under the Provention APA and Side Letter Agreement. During the nine months ended September 30, 2023, the Company recognized $0.3 million in royalty revenue under the Provention APA based on sales of TZIELD. As discussed in Note 6, in September 2023, the Company and Sanofi executed Amendment No. 2 to the Provention APA and terminated the Royalty Purchase Agreement with DRI. As a result, the remaining $50.0 million milestone under the Royalty Purchase Agreement was incorporated into the Provention APA. The Company evaluated the amendment as a contract modification under the provisions of ASC 606 which did not result in any revenue being recognized during the three or nine months ended September 30, 2023. I-Mab Biopharma I-Mab License Agreement In 2019, the Company entered into a collaboration and license agreement with I-Mab Biopharma (I-Mab) to develop and commercialize enoblituzumab, an immune-optimized, anti-B7-H3 monoclonal antibody that incorporates the Company's proprietary Fc Optimization technology platform (I-Mab License Agreement). I-Mab obtained regional development and commercialization rights in mainland China, Hong Kong, Macau and Taiwan (I-Mab's territory), lead clinical development of enoblituzumab in its territories, and will participate in global studies conducted by the Company. The I-Mab License Agreement was terminated effective as of February 25, 2023. Under the terms of the I-Mab License Agreement, I-Mab paid the Company an upfront payment of $15.0 million, and $5.0 million of milestone revenue has been earned from the inception of the I-Mab License Agreement through termination of the agreement. The Company evaluated the I-Mab License Agreement under the provisions of ASC 606 and identified a single performance obligation. The Company determined that the $15.0 million upfront payment from I-Mab constituted the entirety of the consideration to be included in the transaction price as of the outset of the arrangement for the license and related research and development activities. The Company reassessed the transaction price as it became probable that a significant reversal of cumulative revenue would not occur for a $5.0 million milestone ($4.5 million after netting a one-time credit as described above) related to development progress of enoblituzumab, therefore the associated consideration was added to the estimated transaction price and was recognized as revenue during 2021. Revenue under the I-Mab License Agreement was recognized using a cost-based input method according to costs incurred to date compared to estimated total costs. The transfer of control occurs over this time period and, in management’s judgment, was the best measure of progress towards satisfying the performance obligations. During the three and nine months ended September 30, 2023, the Company recognized no revenue under the I-Mab License Agreement. During the three and nine months ended Sept |