XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.21.1

Common Stock and Stock-Based Compensation - Schedule of Common Stock Shares Reserved for Issuance (Details) - shares | Mar. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |
Total shares reserved | 5,112,211 | 18,563,456
Conversion of Outstanding Shares of Convertible Preferred Stock |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |
Total shares reserved |  | 16,079,230
Options Outstanding Under Incentive Award Plans |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |
Total shares reserved | 2,544,778 | 2,466,670
Shares Available for Future Grant under Incentive Award Plans |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |
Total shares reserved | 2,327,433 | 17,556
Shares Available for Future Grant under Employee Stock Purchase Plans |  |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] |  |
Total shares reserved | 240,000 |

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

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

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

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

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