XML 38 R26.htm IDEA: XBRL DOCUMENT
v3.21.2

Investments and Fair Value Measurements (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2021
Investments and Fair Value Measurements |
Cash, cash equivalents and investments | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | September 30, 2021 | ​ | December 31, 2020 |
​ |  | ​ | ​ |  | Gross |  | Gross |  | ​ | ​ |  | ​ | ​ |  | Gross |  | Gross |  | ​ | ​ |
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair |
​ |  | Cost |  | Gain |  | (Loss) |  | Value |  | Cost |  | Gain |  | (Loss) |  | Value |
Classified as: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Cash | ​ | $ | 43,608 | ​ | $ | — | ​ | $ | — | ​ | $ | 43,608 | ​ | $ | 72,602 | ​ | $ | — | ​ | $ | — | ​ | $ | 72,602 | ​
Cash equivalents: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Certificates of deposit 1 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​ | ​ | — | ​
Total cash and cash equivalents | ​ |  | 43,608 | ​ |  | — | ​ |  | — | ​ |  | 43,608 | ​ |  | 72,602 | ​ |  | — | ​ |  | — | ​ |  | 72,602 | ​
Investments (available-for-sale): | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Certificates of deposit 2 | ​ |  | 4,760 | ​ |  | 3 | ​ | ​ | (1) | ​ |  | 4,762 | ​ |  | 2,880 | ​ |  | 5 | ​ | ​ | — | ​ |  | 2,885 | ​
Corporate bonds | ​ |  | 7,608 | ​ |  | 1 | ​ |  | (10) | ​ |  | 7,599 | ​ |  | 3,083 | ​ |  | — | ​ |  | (2) | ​ |  | 3,081 | ​
Total investments | ​ |  | 12,368 | ​ |  | 4 | ​ |  | (11) | ​ |  | 12,361 | ​ |  | 5,963 | ​ |  | 5 | ​ |  | (2) | ​ |  | 5,966 | ​
Total cash, cash equivalents and investments | ​ | $ | 55,976 | ​ | $ | 4 | ​ | $ | (11) | ​ | $ | 55,969 | ​ | $ | 78,565 | ​ | $ | 5 | ​ | $ | (2) | ​ | $ | 78,568 | ​
Contractual maturities on investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Due within 1 year 3 | ​ | $ | 5,678 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | $ | 5,681 | ​ | $ | 240 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | $ | 240 | ​
Due after 1 through 5 years 4 | ​ |  | 6,690 | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | 6,680 | ​ |  | 5,723 | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | 5,726 | ​
​ | ​ | $ | 12,368 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | $ | 12,361 | ​ | $ | 5,963 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | $ | 5,966 | ​
1. | Certificates of deposit with original maturities of less than three months.
2. | Certificates of deposit with original maturities of more than three months.
3. | Classified as “Short-term investments” in our condensed consolidated balance sheets.
4. | Classified as “Long-term investments” in our condensed consolidated balance sheets.
​
Fair value and gross unrealized losses related to available-for-sale securities | A portion of our debt investments would generate a loss if we sold them on September 30, 2021. The following table summarizes the fair value and gross unrealized losses related to available-for-sale debt securities, aggregated by investment category and length of time that individual securities have been in a continuous unrealized loss position as of September 30, 2021 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | In Loss Position | ​ | In Loss Position | ​ | Total In |
​ | ​ | < 12 months | ​ | > 12 months | ​ | Loss Position |
​ | ​ | ​ | ​ | ​ | Gross | ​ | ​ | ​ | ​ | Gross | ​ | ​ | ​ | ​ | Gross |
​ | ​ | Fair | ​ | Unrealized | ​ | Fair | ​ | Unrealized | ​ | Fair | ​ | Unrealized |
As of September 30, 2021 |  | Value |  | (Losses) |  | Value |  | (Losses) |  | Value |  | (Losses) |
Investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Certificates of deposit | ​ | $ | 959 | ​ | $ | (1) | ​ | $ | — | ​ | $ | — | ​ | $ | 959 | ​ | $ | (1) | ​
Corporate bonds | ​ |  | 5,216 | ​ |  | (10) | ​ |  | — | ​ |  | — | ​ |  | 5,216 | ​ | ​ | (10) | ​
Total in loss position | ​ | $ | 6,175 | ​ | $ | (11) | ​ | $ | — | ​ | $ | — | ​ | $ | 6,175 | ​ | $ | (11) | ​
​ ​ The following table summarizes the fair value and gross unrealized losses related to available-for-sale debt securities, aggregated by investment category and length of time that individual securities have been in a continuous unrealized loss position as of December 31, 2020 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | In Loss Position | ​ | In Loss Position | ​ | Total In |
​ | ​ | < 12 months | ​ | > 12 months | ​ | Loss Position |
​ |  |  | ​ |  | Gross |  |  | ​ |  | Gross |  |  | ​ |  | Gross |
​ | ​ | Fair | ​ | Unrealized | ​ | Fair | ​ | Unrealized | ​ | Fair | ​ | Unrealized |
As of December 31, 2020 | ​ | Value | ​ | (Loss) | ​ | Value | ​ | (Loss) | ​ | Value | ​ | (Loss) |
Investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Corporate bonds | ​ |  | 2,048 | ​ |  | (2) | ​ |  | — | ​ |  | — | ​ |  | 2,048 | ​ | ​ | (2) | ​
Total in loss position | ​ | $ | 2,048 | ​ | $ | (2) | ​ | $ | — | ​ | $ | — | ​ | $ | 2,048 | ​ | $ | (2) | ​
Summary of financial assets and liabilities measured at fair value on a recurring basis | The following table summarizes our financial assets and liabilities measured at fair value on a recurring basis in accordance with ASC 820 as of September 30, 2021 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | Quoted Prices in |  | ​ | ​ | ​ | Significant |
​ | ​ | ​ | ​ | ​ | Active Markets of | ​ | Significant Other | ​ | Unobservable |
​ | ​ | Balance as of | ​ | Identical Assets | ​ | Observable Inputs | ​ | Inputs |
​ |  | September 30, 2021 |  | (Level 1) |  | (Level 2) |  | (Level 3) |
Assets: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Cash equivalents and investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Certificates of deposit | ​ | $ | 4,762 | ​ | $ | — | ​ | $ | 4,762 | ​ | $ | — | ​
Corporate bonds | ​ |  | 7,599 | ​ |  | — | ​ |  | 7,599 | ​ |  | — | ​
Total | ​ | $ | 12,361 | ​ | $ | — | ​ | $ | 12,361 | ​ | $ | — | ​
​ The following table summarizes our financial assets and liabilities measured at fair value on a recurring basis in accordance with ASC 820 as of December 31, 2020 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | Quoted Prices in |  | ​ | ​ | ​ | Significant |
​ | ​ | ​ | ​ | ​ | Active Markets of | ​ | Significant Other | ​ | Unobservable |
​ | ​ | Balance as of | ​ | Identical Assets | ​ | Observable Inputs | ​ | Inputs |
​ |  | December 31, 2020 |  | (Level 1) |  | (Level 2) |  | (Level 3) |
Assets: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Cash equivalents and investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Certificates of deposit | ​ | $ | 2,885 | ​ | $ | — | ​ | $ | 2,885 | ​ | $ | — | ​
Corporate bonds | ​ |  | 3,081 | ​ |  | — | ​ |  | 3,081 | ​ |  | — | ​
Total | ​ | $ | 5,966 | ​ | $ | — | ​ | $ | 5,966 | ​ | $ | — | ​
​

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

X
- Definition Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121582814&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the components of cash, cash equivalents, and investments. + References No definition available. + Details
Name: | us-gaap_ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration