XML 60 R45.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Derivative Instruments - Narrative (Details) - USD ($) | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jul. 31, 2021 | Nov. 30, 2019 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Jun. 30, 2021
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Derivative, notional amount |  |  |  |  |  | $ 600,000,000
Swap termination payments |  |  | $ 16,093,000 | $ 35,448,000 | $ 0 |
Derivative collateral received |  |  | 34,660,000 | 45,252,000 | 360,000 |
Unrealized gain (loss) on derivatives |  |  | (21,532,000) | (42,076,000) | (39,138,000) |
Other assets |  |  | 4,145,000 | 9,997,000 |  |
Interest Rate Swap | Level 1 | Fair Value, Recurring |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Derivative financial instruments |  |  | 0 | 5,400,000 |  |
Epizyme Common Stock Warrant |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Warrants to purchase additional shares (in shares) |  | 2,500,000 |  |  |  |
Equity Investment In Epizyme Inc. |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Equity securities |  | $ 100,000,000 |  |  |  |
Upfront payment for equity investment |  | $ 100,000,000 |  |  |  |
Equity Investment In Epizyme Inc. | Epizyme Common Stock Warrant |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Exercise price of warrant (in dollars per share) |  | $ 20 |  |  |  |
Term of warrant (in years) |  | 3 years |  |  |  |
Equity Investment In Epizyme Inc. | Put Option |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Put option, term (in months) |  | 18 months |  |  |  |
Put option to sell additional common stock |  | $ 50,000,000 |  |  |  |
Put option, selling price, maximum (in dollars per share) |  | $ 20 |  |  |  |
Treasury Rate Lock Contracts |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Swap termination payments | $ 16,100,000 |  |  |  |  |
Interest Rate Swap |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Unrealized gain (loss) on derivatives |  |  |  | (10,900,000) | (72,600,000) |
Warrant |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Unrealized gain (loss) on derivatives |  |  | $ (5,400,000) | $ (25,400,000) | 22,000,000 |
Forwards | Equity Investment In Epizyme Inc. |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |
Other assets |  |  |  |  | $ 11,500,000 |

X
- Definition Option Indexed to Issuer's Equity, Term + References No definition available. + Details
Name: | rprx_OptionIndexedToIssuersEquityTerm
Namespace Prefix: | rprx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Option Indexed To Issuers Equity, Value + References No definition available. + Details
Name: | rprx_OptionIndexedToIssuersEquityValue
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Payments to Acquire Equity Investments, Upfront Payment + References No definition available. + Details
Name: | rprx_PaymentsToAcquireEquityInvestmentsUpfrontPayment
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Payments To Terminate Derivative Instruments + References No definition available. + Details
Name: | rprx_PaymentsToTerminateDerivativeInstruments
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proceeds From Collateral Received On Derivative Instruments + References No definition available. + Details
Name: | rprx_ProceedsFromCollateralReceivedOnDerivativeInstruments
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 + Details
Name: | us-gaap_EquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Exercise or strike price stated in the contract for options indexed to the issuer's equity shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 50 -Paragraph 5 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879 + Details
Name: | us-gaap_OptionIndexedToIssuersEquityStrikePrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncurrent assets classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_OtherAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_UnrealizedGainLossOnDerivatives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=rprx_EpizymeCommonStockWarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rprx_EpizymeIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OptionIndexedToIssuersEquityTypeAxis=us-gaap_PutOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=rprx_TreasuryRateLockContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |