XML 36 R11.htm IDEA: XBRL DOCUMENT v3.22.0.1
Marketable Securities and Fair Value Measurements
12 Months Ended
Dec. 31, 2021
Fair Value Disclosures [Abstract]  
Marketable Securities and Fair Value Measurements Marketable Securities and Fair Value Measurements
The following tables present marketable securities by contractual maturity and security type:
As of December 31, 2021 (in thousands)Amortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair Value
Due within one year:
Commercial paper$105,433 $$(44)$105,390 
Corporate debt securities61,721 — (70)61,651 
Certificates of deposit23,528 (7)23,522 
U.S. government securities8,008 — — 8,008 
Due after one year through five years:
Corporate debt securities37,003 — (129)36,874 
U.S. government securities5,094 — (18)5,076 
Total$240,787 $$(268)$240,521 
As of December 31, 2020 (in thousands)Amortized CostGross Unrealized GainsGross Unrealized LossesEstimated Fair Value
Due within one year:
U.S. government securities$298,335 $49 $(1)$298,383 
Commercial paper62,037 (15)62,031 
Corporate debt securities38,309 — (34)38,275 
Certificates of deposit17,344 (1)17,344 
Due after one year through five years:
U.S. government securities9,370 — 9,375 
Total$425,395 $64 $(51)$425,408 

The following tables present information about the Company's financial assets measured at fair value on a recurring basis and indicate the level of the fair value hierarchy utilized to determine such fair values:
As of December 31, 2021 (in thousands)Level 1Level 2Level 3Total
Cash equivalents:
Money market funds$— $47,800 $— $47,800 
U.S. government securities— — — — 
Marketable securities:
U.S. government securities— 13,084 — 13,084 
Commercial paper— 105,390 — 105,390 
Corporate debt securities— 98,525 — 98,525 
Certificates of deposit— 23,522 — 23,522 
Total$— $288,321 $— $288,321 
As of December 31, 2020 (in thousands)Level 1Level 2Level 3Total
Cash equivalents:
Money market funds$— $46,676 $— $46,676 
Certificates of deposit— 30,000 — 30,000 
Marketable securities:
U.S. government securities— 307,758 — 307,758 
Commercial paper— 62,031 — 62,031 
Corporate debt securities— 38,275 — 38,275 
Certificates of deposit— 17,344 — 17,344 
Total$— $502,084 $— $502,084 
The tables above exclude certificates of deposit of $3.1 million as of both December 31, 2021 and 2020 that the Company held to secure a letter of credit associated with its leases and to secure a credit card account. The certificates of deposit are measured at carrying value in the consolidated balance sheets in long-term investments—restricted and approximate fair value. For additional information on the letter of credit associated with the Company's leases, please read Note 7, Leases, to these consolidated financial statements.
The fair value of Level 2 instruments classified as cash equivalents and marketable securities were determined through third-party pricing services. The pricing services use many observable market inputs to determine value, including reportable trades, benchmark yields, credit spreads, broker/dealer quotes, bids, offers, current spot rates, and other industry and economic events. The Company performs validation procedures to ensure the reasonableness of this data. The Company performs its own review of prices received from the independent pricing services by comparing these prices to other sources. After completing the validation procedures, the Company did not adjust or override any fair value measurements provided by the pricing services as of December 31, 2021 and 2020.