|3 Months Ended|
Mar. 31, 2021
|Investments, Debt and Equity Securities [Abstract]|
As of March 31, 2021 and December 31, 2020, the Company had $191.7 million and $12.6 million and $126.0 million and $24.4 million of short and long-term investments, respectively, mainly consisting of commercial paper and bonds as summarized below. As of March 31, 2021, the Company classifies its investments as debt securities of which $89.1 million are held to maturity and $115.2 million are available-for-sale. As of December 31, 2020, $150.4 million were classified as held to maturity and $nil were available-for-sale.
Currently the Company does not intend to sell investments that are classified as held-to-maturity and has the ability and intent to hold these investments until maturity in order to collect interest payments over the life of the investments. As of March 31, 2021 and December 31, 2020, accrued interest receivable from the investments were $0.4 million and $0.5 million, respectively. As of March 31, 2021, the Company had $6 thousand unrealized gains on available-for-sale securities, net of tax, which are included as a component of comprehensive loss. The Company's investments as of March 31, 2021 mature at various dates through June 2022.
The entire disclosure for investments in certain debt and equity securities.
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef