XML 40 R25.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Fair Value - Schedule of Aggregate Amortized Cost and Fair Value of Marketable Securities (Details) $ in Thousands | Sep. 30, 2022 USD ($)
--- | ---
Fair Value Disclosures [Abstract] |
Due in one year or less | $ 124,309
Due after one year through two years | 0
Total marketable securities | 124,309
Due in one year or less | 125,315
Due after one year through two years | 0
Total marketable securities | $ 125,315

X
- Definition Marketable securities at amortized cost. + References No definition available. + Details
Name: | tern_MarketableSecuritiesAtAmortizedCost
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable securities maturities after one through two years amortized cost. + References No definition available. + Details
Name: | tern_MarketableSecuritiesMaturitiesAfterOneThroughTwoYearsAmortizedCost
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable securities maturities after one through two years fair value. + References No definition available. + Details
Name: | tern_MarketableSecuritiesMaturitiesAfterOneThroughTwoYearsFairValue
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable securities maturities with in one year or less amortized cost. + References No definition available. + Details
Name: | tern_MarketableSecuritiesMaturitiesWithInOneYearOrLessAmortizedCost
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable securities maturities with in one year or less fair value. + References No definition available. + Details
Name: | tern_MarketableSecuritiesMaturitiesWithInOneYearOrLessFairValue
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of investment in marketable security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.4) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_MarketableSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant