XML 44 R29.htm IDEA: XBRL DOCUMENT v3.22.0.1
Cash, Cash Equivalents and Investments (Tables)
12 Months Ended
Dec. 31, 2021
Cash and Cash Equivalents [Abstract]  
Summary of Cash, Cash Equivalents and Investments
A summary of the cash equivalents and investments as of December 31, 2021 is as follows:
Cash Equivalents:Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Money market funds$170,907 $— $— $170,907 
Certificates of deposit25,090 — — 25,090 
$195,997 $— $— $195,997 
Investments:Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Corporate bonds and commercial paper$44,282 $$(66)$44,219 
Certificates of deposit12,161 — — 12,161 
U.S. government securities48,658 — (160)$48,498 
$105,101 $$(226)$104,878 
A summary of the cash equivalents and investments as of December 31, 2020 is as follows:
Cash Equivalents:Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Money market funds$188,469 $— $— $188,469 
Certificates of deposit25,028 — — 25,028 
Corporate bonds and commercial paper997 — (1)996 
U.S. government securities19,999 — — 19,999 
$234,493 $— $(1)$234,492 
Investments:Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Corporate bonds and commercial paper$31,233 $15 $(9)$31,239 
Certificates of deposit10,007 — — 10,007 
U.S. government securities90,120 — (14)90,106 
$131,360 $15 $(23)$131,352 
Investments Classified by Contractual Maturity Date
The following table summarizes the estimated fair value of the Company's investments, designated as available-for-sale and classified by the contractual maturity date of the investments as of the dates shown:
December 31,
 20212020
Due within one year or less$63,935 $131,352 
Due after one year through five years40,943 — 
$104,878 $131,352 
Schedule of Fair Values and Gross Unrealized Losses for Available-for-sale Securities
The following table shows the fair values and the gross unrealized losses of these available-for-sale investments aggregated by investment category as of December 31, 2021:
 Adjusted CostGross Unrealized LossFair Value
U.S. government securities$48,658 $(160)$48,498 
Corporate bonds and commercial paper41,500 (66)41,434 
$90,158 $(226)$89,932 
The following table shows the fair values and the gross unrealized losses of these available-for-sale investments aggregated by investment category as of December 31, 2020:
 Adjusted CostGross Unrealized LossFair Value
U.S. government securities$90,120 $(14)$90,106 
Corporate bonds and commercial paper21,445 (9)21,436 
$111,565 $(23)$111,542