v3.21.2
Cash, Cash Equivalents and Investments (Tables)
9 Months Ended
Sep. 30, 2021
Cash and Cash Equivalents [Abstract]  
Summary of Cash, Cash Equivalents and Investments
A summary of the Company's cash equivalents and investments as of September 30, 2021 is as follows:
Cash Equivalents:Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Money market funds$176,144 $— $— $176,144 
Certificates of deposit25,076 — — 25,076 
$201,220 $— $— $201,220 
Investments:Amortized CostGross Unrealized GainsGross Unrealized LossesFair Value
Corporate bonds and commercial paper$36,472 $$(9)$36,466 
Certificates of deposit12,161 — — 12,161 
U.S. government securities51,185 (10)51,178 
$99,818 $$(19)$99,805 
A summary of the Company's 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 
Schedule of 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:
 September 30, 2021December 31, 2020
Due within one year or less$77,598 $131,352 
Due after one year through five years22,207 — 
$99,805 $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 September 30, 2021.
 Adjusted CostGross Unrealized LossFair Value
U.S. government securities$16,024 $(10)$16,014 
Corporate bonds and commercial paper29,927 (9)29,918 
$45,951 $(19)$45,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