XML 22 R12.htm IDEA: XBRL DOCUMENT v3.21.1
Cash, cash equivalents, short-term investments, and restricted cash
3 Months Ended
Mar. 31, 2021
Cash and Cash Equivalents [Abstract]  
Cash, cash equivalents, short-term investments, and restricted cash Cash, cash equivalents, short-term investments and restricted cash 
The following table summarizes the Company’s cash, cash equivalents and restricted cash (in thousands): 
 March 31, 2021December 31, 2020
Cash and cash equivalents$83,068 $95,117 
Restricted cash488 489 
Total cash, cash equivalents and restricted cash shown in the statement of cash flows$83,556 $95,606 
The following table summarizes the Company’s unrealized gains and losses related to its short-term investments in marketable securities designated as available-for-sale (in thousands): 

 As of March 31, 2021As of December 31, 2020
 Amortized CostGross Unrealized GainsGross Unrealized LossFair ValueAmortized CostGross Unrealized GainsGross Unrealized LossFair Value
Marketable securities:        
Money market funds$27,671 $— $— $27,671 $27,669 $— $— $27,669 
Reported as:        
Short-term investments$27,671 $27,669 
 
As of March 31, 2021 and December 31, 2020, maturities of marketable securities were less than one year. There were no realized gains and losses on the sale of marketable securities during the three months ended March 31, 2021 and 2020. The Company did not recognize any impairment losses on its marketable securities during the three months ended March 31, 2021 or 2020. As of March 31, 2021, the Company did not have any investments in marketable securities that were in an unrealized loss position for a period in excess of 12 months.