Research Collaboration and License Agreements - Additional Information (Details) | 1 Months Ended | 4 Months Ended | 6 Months Ended | 12 Months Ended | | | | |
Nov. 30, 2017USD ($)Target | Dec. 31, 2015USD ($) | Jun. 30, 2020USD ($)Contract | Jun. 30, 2019USD ($) | Dec. 31, 2018USD ($) | Dec. 31, 2022USD ($) | Mar. 31, 2020USD ($) | Dec. 31, 2019USD ($) | Jul. 31, 2019USD ($) |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Revenue recognized on research collaboration and license agreements | | | $ 12,000,000 | | | | | | |
Changes in deferred revenue due to additions to deferred revenue | | | (7,952,998) | $ (8,032,978) | | | | | |
Unsatisfied performance obligations expected to be recognized as revenue | | | 50,500,000 | | | | | | |
Bayer Collaboration Agreement | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | | | | | $ 17,500,000 |
Bayer Collaboration Agreement | Research Funding Payments | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | | | $ 3,000,000 | | 1,500,000 |
Bayer Collaboration Agreement | Research Funding Payments | Scenario Forecast | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | | $ 10,500,000 | | | |
Bayer Collaboration Agreement | Development Milestone Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | | | | | 197,500,000 |
Bayer Collaboration Agreement | Sales-based Milestone Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | | | | | $ 490,000,000 |
Bayer Collaboration Agreement | Stock Purchase Agreement | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Fair value of the shares sold | | | 2,900,000 | | | | | | |
Additional consideration received | | | $ 2,900,000 | | | | | | |
Number of contracts to be combined | Contract | | | 2 | | | | | | |
Pfizer, Inc. | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | | | $ 1,000,000 | $ 1,200,000 | |
Upfront non-refundable payment and certain additional payments received | | | | | $ 28,000,000 | | | | |
Pfizer, Inc. | Development Milestone Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | $ 225,000,000 | | | | | | |
Pfizer, Inc. | Sales-based Milestone Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | 550,000,000 | | | | | | |
Pfizer, Inc. | Option Exercised | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | | | $ 2,500,000 | | | | |
Pfizer, Inc. | Option Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | | | 37,500,000 | | | | | | |
Genentech, Inc. and F. Hoffman-La Roche Ltd. | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Upfront non-refundable payment and certain additional payments received | $ 34,500,000 | $ 11,000,000 | | | | | | | |
Number of designated targets | Target | 10 | | | | | | | | |
Genentech, Inc. and F. Hoffman-La Roche Ltd. | Development Milestone Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | $ 44,000,000 | | | | | | | | |
Genentech, Inc. and F. Hoffman-La Roche Ltd. | Option Payments | Maximum | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | 27,500,000 | | | | | | | | |
Genentech, Inc. and F. Hoffman-La Roche Ltd. | Regulatory Milestone Payments | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | 52,500,000 | | | | | | | | |
Genentech, Inc. and F. Hoffman-La Roche Ltd. | Commercial Milestones | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Contract revenue receivable if milestones achieved or options for all targets exercised | $ 60,000,000 | | | | | | | | |
Bayer and Pfizer Collaboration Agreement | | | | | | | | | |
Research Collaboration And License Agreements [Line Items] | | | | | | | | | |
Changes in deferred revenue due to additions to deferred revenue | | | $ 4,000,000 | | | | | | |