XML 74 R38.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Common Stock - Summary of Reserved Shares of Common Stock on Converted Basis for Future Issuance (Detail) - shares | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Class Of Stock [Line Items] |  |
Total shares reserved | 5,070,476 | 4,106,321
Options Available for Future Grants |  |
Class Of Stock [Line Items] |  |
Total shares reserved | 2,688,372 | 2,415,710
2019 Equity Incentive Plan and 2015 Stock Plan | Options Issued and Outstanding |  |
Class Of Stock [Line Items] |  |
Total shares reserved | 2,024,681 | 1,481,100
2019 Equity Incentive Plan | Restricted Stock Units Issued and Outstanding |  |
Class Of Stock [Line Items] |  |
Total shares reserved | 40,500 | 56,500
2019 Employee Stock Purchase Plan |  |
Class Of Stock [Line Items] |  |
Total shares reserved | 316,923 | 153,011

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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + 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.29) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_AwardTypeAxis=rapt_OptionsAvailableForFutureGrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=rapt_TwoThousandNineteenEquityIncentivePlanAndTwoThousandFifteenStockPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=rapt_OptionsIssuedAndOutstandingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=rapt_TwoThousandNineteenEquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=rapt_RestrictedStockUnitsIssuedAndOutstandingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=rapt_TwoThousandNineteenEmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |