XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.21.2

Short-term and Long-term Investments (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2021
Investments, Debt and Equity Securities [Abstract] |
Summary of Amortized Cost, Gross Unrealized Gains and Losses, and Fair Value of Short-term and Long-term Investments | The following table summarizes the amortized cost, gross unrealized gains and losses, and fair value of available-for-sale investments as of September 30, 2021:
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value
U.S. government debt securities | $ | 139,375 |  |  | $ | 5 |  |  | $ | (35) |  |  | $ | 139,345 |
Certificates of deposit | 265 |  |  | — |  |  | — |  |  | 265 |
Total | $ | 139,640 |  |  | $ | 5 |  |  | $ | (35) |  |  | $ | 139,610 |
The following table summarizes the amortized cost, gross unrealized gains and losses, and fair value of available-for-sale investments as of December 31, 2020:
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value
U.S. government debt securities | $ | 48,048 |  |  | $ | 14 |  |  | $ | (1) |  |  | $ | 48,061 |
Certificates of deposit | 264 |  |  | — |  |  | — |  |  | 264 |
Total | $ | 48,312 |  |  | $ | 14 |  |  | $ | (1) |  |  | $ | 48,325 |
Contractual Obligation, Fiscal Year Maturity | The estimated fair value of available-for-sale investments classified by their contractual maturities as of September 30, 2021 was:
Due within one year | $ | 72,684 |
After one year through two years | 66,926 |
Total | $ | 139,610 |

X
- Definition Tabular disclosure of contractual obligation by timing of payment due. Includes, but is not limited to, long-term debt obligation, lease obligation, and purchase obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 303 -Paragraph (a) -Subparagraph (5) + Details
Name: | srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock
Namespace Prefix: | srt_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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