XML 39 R26.htm IDEA: XBRL DOCUMENT
v3.23.2

Fair Value Measurements - Summary of Financial Assets and Liabilities Measured at Fair Value on a Recurring Basis and Level of the Fair Value Hierarchy (Detail) - Fair value on a recurring basis [Member] - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Investments: |  |
Total assets | $ 849,586 | $ 975,519
Liabilities |  |
Contingent Milestone Payments | 24,223 | 27,378
Total liabilities | 24,223 | 27,378
Investments [Member] |  |
Investments: |  |
Total investments | 725,671 | 847,123
Investments [Member] | U.S treasury bills [Member] |  |
Investments: |  |
Total investments | 378,391 | 466,603
Investments [Member] | U.S agency securities [Member] |  |
Investments: |  |
Total investments | 347,280 | 380,520
Cash equivalents [Member] |  |
Cash equivalents: |  |
Assets, fair value | 123,915 | 128,396
Cash equivalents [Member] | Money market funds [Member] |  |
Cash equivalents: |  |
Assets, fair value | 113,936 | 118,446
Cash equivalents [Member] | U.S treasury bills [Member] |  |
Cash equivalents: |  |
Assets, fair value | 9,979 | 9,950
Level 1 [Member] |  |
Investments: |  |
Total assets | 113,936 | 118,446
Level 1 [Member] | Cash equivalents [Member] |  |
Cash equivalents: |  |
Assets, fair value | 113,936 | 118,446
Level 1 [Member] | Cash equivalents [Member] | Money market funds [Member] |  |
Cash equivalents: |  |
Assets, fair value | 113,936 | 118,446
Level 2 [Member] |  |
Investments: |  |
Total assets | 735,650 | 857,073
Level 2 [Member] | Investments [Member] |  |
Investments: |  |
Total investments | 725,671 | 847,123
Level 2 [Member] | Investments [Member] | U.S treasury bills [Member] |  |
Investments: |  |
Total investments | 378,391 | 466,603
Level 2 [Member] | Investments [Member] | U.S agency securities [Member] |  |
Investments: |  |
Total investments | 347,280 | 380,520
Level 2 [Member] | Cash equivalents [Member] |  |
Cash equivalents: |  |
Assets, fair value | 9,979 | 9,950
Level 2 [Member] | Cash equivalents [Member] | U.S treasury bills [Member] |  |
Cash equivalents: |  |
Assets, fair value | 9,979 | 9,950
Level 3 [Member] |  |
Liabilities |  |
Contingent Milestone Payments | 24,223 | 27,378
Total liabilities | $ 24,223 | $ 27,378

X
- Definition Business combination, contingent milestone payments. + References No definition available. + Details
Name: | rlay_BusinessCombinationContingentMilestonePayments
Namespace Prefix: | rlay_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash and cash equivalents fair value disclosure. + References No definition available. + Details
Name: | rlay_CashAndCashEquivalentsFairValueDisclosureAbstract
Namespace Prefix: | rlay_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_InvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LiabilitiesFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of obligations not classified as financial liabilities. Includes, but is not limited to, accounts payable and accrued liabilities, commitments, obligations, and other liabilities. + References No definition available. + Details
Name: | us-gaap_NonfinancialLiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_FairValueByAssetClassAxis=us-gaap_InvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_MoneyMarketFundsMember
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_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
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: |