XML 77 R62.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Shareholders' Equity - Summary of Noncontrolling Interests (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Sep. 30, 2020 | Dec. 31, 2020 | Jun. 17, 2020 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Beginning balance |  |  | $ 6,141,438 | $ 9,895,815 | $ 6,141,438 | $ 4,552,079
Contributions |  |  |  | 48,539 | 1,482,322 |
Transfer of interests |  |  |  |  | 0 |
Distributions |  |  |  | (614,973) | (1,105,765) | (880,142)
Net income (loss) |  | $ 1,077,069 | 624,885 | 1,241,201 | 1,701,954 | 2,461,419
Effect of exchange by Continuing Investors of Class B ordinary shares for Class A ordinary shares and reallocation of historical equity |  |  |  |  | (1) |
Issuance of Class A ordinary shares sold in IPO, net of offering costs |  |  |  |  | 1,908,744 |
Other exchanges |  |  |  | 0 | 191 |
Unrealized gains on available for sale debt securities |  |  |  | 11,600 | 83,120 | 6,159
Reclassification of unrealized losses on available for sale debt securities |  |  |  | (50,896) | (20,551) | 0
Ending balance |  | 9,895,815 |  | 10,248,545 | 9,895,815 | 6,141,438
Non-Controlling Interest |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Beginning balance |  |  | 35,883 | 5,077,036 | 35,883 | 63,865
Contributions |  |  |  | 48,539 | 1,174,676 |
Transfer of interests |  |  |  |  | 1,037,161 |
Distributions |  |  |  | (614,973) | (792,357) | (140,866)
Net income (loss) | $ 581,871 | 581,871 | 145,043 | 621,473 |  | 112,884
Effect of exchange by Continuing Investors of Class B ordinary shares for Class A ordinary shares and reallocation of historical equity |  |  |  |  | 2,433,098 |
Issuance of Class A ordinary shares sold in IPO, net of offering costs |  |  |  |  | 758,354 |
Other exchanges |  |  |  | (642,974) | (309,566) |
Unrealized gains on available for sale debt securities |  |  |  | 5,265 | 22,503 |
Reclassification of unrealized losses on available for sale debt securities |  |  |  | (22,415) | (9,630) |
Ending balance |  | $ 5,077,036 |  | $ 4,471,951 | $ 5,077,036 | 35,883
Non-Controlling Interest | RP Holdings |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Noncontrolling interest (percentage) |  | 64.00% |  | 71.00% | 64.00% |
Non-Controlling Interest | RPSFT |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Beginning balance |  |  | 35,883 | $ 12,436 | $ 35,883 |
Contributions |  |  |  | 0 | 0 |
Transfer of interests |  |  |  |  | 0 |
Distributions |  |  |  | (56,490) | (112,339) |
Net income (loss) | 46,741 |  | 42,151 | 57,582 |  |
Effect of exchange by Continuing Investors of Class B ordinary shares for Class A ordinary shares and reallocation of historical equity |  |  |  |  | 0 |
Issuance of Class A ordinary shares sold in IPO, net of offering costs |  |  |  |  | 0 |
Other exchanges |  |  |  | 0 | 0 |
Unrealized gains on available for sale debt securities |  |  |  | 0 | 0 |
Reclassification of unrealized losses on available for sale debt securities |  |  |  | 0 | 0 |
Ending balance |  | $ 12,436 |  | 13,528 | 12,436 | 35,883
Non-Controlling Interest | Legacy Investors Partnerships |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Beginning balance |  |  | 0 | 1,939,509 | 0 |
Contributions |  |  |  | 35,148 | 1,165,258 |
Transfer of interests |  |  |  |  | 1,037,161 |
Distributions |  |  |  | (425,050) | (594,592) |
Net income (loss) | 218,137 |  | 102,892 | 266,570 |  |
Effect of exchange by Continuing Investors of Class B ordinary shares for Class A ordinary shares and reallocation of historical equity |  |  |  |  | (750) |
Issuance of Class A ordinary shares sold in IPO, net of offering costs |  |  |  |  | 0 |
Other exchanges |  |  |  | 0 | 0 |
Unrealized gains on available for sale debt securities |  |  |  | 2,038 | 15,015 |
Reclassification of unrealized losses on available for sale debt securities |  |  |  | (8,946) | (3,612) |
Ending balance |  | 1,939,509 |  | 1,809,269 | 1,939,509 | 0
Non-Controlling Interest | Continuing Investors Partnerships |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Beginning balance |  |  | 0 | 3,125,091 | 0 |
Contributions |  |  |  | 13,391 | 9,418 |
Transfer of interests |  |  |  |  | 0 |
Distributions |  |  |  | (133,433) | (85,426) |
Net income (loss) | 316,993 |  | 0 | 297,321 |  |
Effect of exchange by Continuing Investors of Class B ordinary shares for Class A ordinary shares and reallocation of historical equity |  |  |  |  | 2,433,848 |
Issuance of Class A ordinary shares sold in IPO, net of offering costs |  |  |  |  | 758,354 |
Other exchanges |  |  |  | (642,974) | (309,566) |
Unrealized gains on available for sale debt securities |  |  |  | 3,227 | 7,488 |
Reclassification of unrealized losses on available for sale debt securities |  |  |  | (13,469) | (6,018) |
Ending balance |  | $ 3,125,091 |  | $ 2,649,154 | $ 3,125,091 | 0
Non-Controlling Interest | Continuing Investors Partnerships | RP Holdings |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Noncontrolling interest (percentage) |  | 36.00% |  | 29.00% | 36.00% |
Non-Controlling Interest | EPA Holdings |  |  |  |  |  |
Stockholders' Equity Attributable to Noncontrolling Interest [Roll Forward] |  |  |  |  |  |
Beginning balance |  |  | 0 | $ 0 | $ 0 |
Contributions |  |  |  | 0 | 0 |
Transfer of interests |  |  |  |  | 0 |
Distributions |  |  |  | 0 | 0 |
Net income (loss) | $ 0 |  | $ 0 | 0 |  |
Effect of exchange by Continuing Investors of Class B ordinary shares for Class A ordinary shares and reallocation of historical equity |  |  |  |  | 0 |
Issuance of Class A ordinary shares sold in IPO, net of offering costs |  |  |  |  | 0 |
Other exchanges |  |  |  | 0 | 0 |
Unrealized gains on available for sale debt securities |  |  |  | 0 | 0 |
Reclassification of unrealized losses on available for sale debt securities |  |  |  | 0 | 0 |
Ending balance |  | $ 0 |  | $ 0 | $ 0 | $ 0

X
- Definition Noncontrolling Interest, Increase from Contributions + References No definition available. + Details
Name: | rprx_NoncontrollingInterestIncreaseFromContributions
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Noncontrolling Interest, Transfers Of Interests + References No definition available. + Details
Name: | rprx_NoncontrollingInterestTransfersOfInterests
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Stockholders' Equity, Value, Effect Of Exchange And Reallocation + References No definition available. + Details
Name: | rprx_StockholdersEquityValueEffectOfExchangeAndReallocation
Namespace Prefix: | rprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_MovementInMinorityInterestRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e689-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 17A -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL34724391-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 235 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-05(b)(2)) -URI http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884 Reference 23: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 29: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 31: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4J -URI http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686 Reference 32: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4K -URI http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794 + Details
Name: | us-gaap_ProfitLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644 Reference 3: 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(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: 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(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 23 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 7 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 105 -SubTopic 10 -Section 65 -Paragraph 6 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (e)(3) -URI http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793 Reference 13: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (d)(3) -URI http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (f)(2) -URI http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (f)(2) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 21: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4I -URI http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900 Reference 24: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 848 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Publisher FASB -Subparagraph (a)(3)(iii)(03) + Details
Name: | us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This element represents movements included in the statement of changes in stockholders' equity which are not separately disclosed or provided for elsewhere in the taxonomy. + References No definition available. + Details
Name: | us-gaap_StockholdersEquityOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=rprx_RPHoldingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rprx_RoyalPharmacySelectFinanceTrustMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rprx_LegacyInvestorsPartnershipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rprx_ContinuingInvestorsPartnershipMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rprx_EPAHoldingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |