XML 72 R36.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Collaboration Agreements - Additional Information (Details) - USD ($) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Apr. 30, 2020 | Dec. 31, 2019
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items] |  |  |  |
Revenue recognized | $ 3,813,000 | $ 5,042,000 |  |
Collaboration and License Agreement | Hanmi Pharmaceutical Co., LTD |  |  |  |
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items] |  |  |  |
Upfront and near-term milestone payment |  |  |  | $ 10,000,000.0
Upfront fee |  |  |  | 4,000,000.0
Development milestone payment |  |  | $ 6,000,000.0 |
Unconstrained development milestone payment |  | 400,000 |  | 6,000,000.0
Revenue recognized | 3,800,000 | $ 5,000,000.0 |  |
Deferred revenue | $ 1,500,000 |  |  |
Collaboration and License Agreement | Hanmi Pharmaceutical Co., LTD | Maximum |  |  |  |
Collaborative Arrangements And Noncollaborative Arrangement Transactions [Line Items] |  |  |  |
Contingent payments upon achievement of specified milestones |  |  |  | $ 108,000,000.0

X
- Definition Contingent payments upon achievement of specified milestones. + References No definition available. + Details
Name: | rapt_ContingentPaymentsUponAchievementOfSpecifiedMilestones
Namespace Prefix: | rapt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Development milestone payment. + References No definition available. + Details
Name: | rapt_DevelopmentMilestonePayment
Namespace Prefix: | rapt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unconstrained development milestone payment. + References No definition available. + Details
Name: | rapt_UnconstrainedDevelopmentMilestonePayment
Namespace Prefix: | rapt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Upfront fees. + References No definition available. + Details
Name: | rapt_UpfrontFees
Namespace Prefix: | rapt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Upfront milestone payment. + References No definition available. + Details
Name: | rapt_UpfrontMilestonePayment
Namespace Prefix: | rapt_
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_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable. + 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(5)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -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 22 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=rapt_CollaborationAndLicenseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |