XML 59 R43.htm IDEA: XBRL DOCUMENT
v3.22.4

Derivative Instruments - Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands, shares in Millions | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Jul. 31, 2021 | Feb. 29, 2020 | Nov. 30, 2019 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Jun. 30, 2021
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Unrealized (Losses)/Gains |  |  |  |  | $ 65,891 |  |
Derivative, notional amount |  |  |  |  |  |  | $ 600,000
Swap termination payments |  | $ 35,400 |  | $ 0 | 16,093 | $ 35,448 |
Derivative collateral received |  | $ 45,300 |  | 0 | 34,660 | $ 45,252 |
Fair Value, Recurring |  |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Derivative instruments, current |  |  |  | 86,150 | 0 |  |
Derivative financial instruments |  |  |  | 10,460 | 0 |  |
Level 3 | Fair Value, Recurring |  |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Derivative instruments, current |  |  |  | 86,150 | 0 |  |
Derivative financial instruments |  |  |  | 10,460 | 0 |  |
Preferred Shares |  |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Unrealized (Losses)/Gains |  |  |  |  | $ 49,191 |  |
Preferred Shares | Milestone Acceleration |  |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Unrealized (Losses)/Gains |  |  |  | $ 96,600 |  |  |
Epizyme Common Stock Warrant |  |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Warrants to purchase additional shares (in shares) |  |  | 2.5 |  |  |  |
Equity Investment In Epizyme Inc. |  |  |  |  |  |  |
Derivative Instruments and Hedging Activities Disclosures [Line Items] |  |  |  |  |  |  |
Equity securities |  |  | $ 100,000 |  |  |  |
Upfront payment for equity investment |  |  | $ 100,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 |  |  |  |
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 |  |  |  |  |  |

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 Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 https://asc.fasb.org/extlink&oid=126973232&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 https://asc.fasb.org/extlink&oid=126973232&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 within one year or 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 https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 https://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 https://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 https://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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI https://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 https://asc.fasb.org/extlink&oid=126731327&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 https://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 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 https://asc.fasb.org/extlink&oid=126976982&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_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | srt_CounterpartyNameAxis=rprx_MilestoneAccelerationMember
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: |