XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.21.2

Stockholders' Equity - Shares Reserved For Future Issuances (Detail) - shares | Jun. 30, 2021 | Dec. 31, 2020
--- | --- | ---
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 4,564,406 | 3,646,200
2012 Stock Option And Grant Plan [Member] | 2012 Stock Incentive Plan [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 885,418 | 921,824
2019 Stock Option And Grant Plan [Member] | 2019 Stock Incentive Plan [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 3,175,199 | 2,396,922
2019 Stock Option And Grant Plan [Member] | 2019 Employee Stock Purchase Plan [Member] |  |
Class Of Stock [Line Items] |  |
Common Stock, Capital Shares Reserved for Future Issuance | 503,789 | 327,454

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_PlanNameAxis=trvi_TwoThousandAndTwelveStockOptionAndGrantPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_TwoThousandAndTwelveStockIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_TwoThousandAndNineteenStockIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis=trvi_TwoThousandAndNineteenEmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |