XML 31 R20.htm IDEA: XBRL DOCUMENT v3.22.2
Fair Value Measurements and Available for Sale Investments (Tables)
6 Months Ended
Jun. 30, 2022
Fair Value Measurements And Available For Sale Investments [Abstract]  
Assets Measured at Fair Value on Recurring Basis
The following table presents the hierarchy for assets measured at fair value on a recurring basis as of June 30, 2022 and December 31, 2021 (in thousands):
Fair Value Measurements at End of Period Using:
Total
Fair Value
Quoted Market
Prices for
Identical Assets
(Level 1)
Significant
Other Observable
Inputs
(Level 2)
Significant
Unobservable
Inputs
(Level 3)
As of June 30, 2022
Money market funds$44,606 $44,606 $— $— 
U.S. Treasury and agency securities20,276 20,276 — — 
Commercial paper84,550 — 84,550 — 
Corporate debt securities37,006 — 37,006 — 
As of December 31, 2021
Money market funds$139,794 $139,794 $— $— 
Commercial paper113,939 — 113,939 — 
Corporate debt securities37,873 — 37,873 — 
Schedule of Available for Sale Investments by Security Type
The aggregate market value, cost basis, and gross unrealized losses of available-for-sale investments by security type, classified in marketable securities and long-term investments as of June 30, 2022 and December 31, 2021 are as follows (in thousands):
Amortized
Cost
Gross
Unrealized
Gains
Gross
Unrealized
Losses
Total
Fair Value
As of June 30, 2022
U.S. Treasury and agency securities$20,336 $— $(60)$20,276 
 Corporate debt securities$37,158 $— $(152)$37,006 
     Commercial paper$70,812 $— $(249)$70,563 
Total marketable securities$128,306 $— $(461)$127,845 
As of December 31, 2021
     Corporate debt securities$37,921 $— $(48)$37,873 
     Commercial paper$103,942 $— $— $103,942 
Total marketable securities$141,863 $— $(48)$141,815 
Schedule of Contractual Maturities of Available-for-sale Debt Securities
Contractual maturities of available-for-sale debt securities, as of June 30, 2022, were as follows (in thousands):
Estimated
 Fair Value
Less than one year$127,845 
Greater than one year— 
Total$127,845