XML 33 R19.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements and Available for Sale Investments (Tables)
6 Months Ended
Jun. 30, 2021
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, 2021 and December 31, 2020 (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, 2021
Money market funds$293,231 $293,231 $— $— 
Commercial paper59,922 — 59,922 — 
Corporate debt securities13,542 — 13,542 — 
As of December 31, 2020
Money market funds$411,104 $411,104 $— $— 
U.S. Treasury and agency securities18,280 18,280 — — 
Corporate debt securities26,573 — 26,573 — 
Schedule of Available for Sale Investments by Security Type
The aggregate market value, cost basis, and gross unrealized gains and losses of available-for-sale investments by security type, classified in marketable securities and long-term investments as of June 30, 2021 are as follows (in thousands):
Amortized
Cost
Gross
Unrealized
Gains
Gross
Unrealized
Losses
Total
Fair Value
Marketable securities
Commercial paper$49,924 $— $— $49,924 
Corporate debt securities13,480 62 — 13,542 
Total marketable securities$63,404 $62 $— $63,466 
Schedule of Contractual Maturities of Available-for-sale Debt Securities
Contractual maturities of available-for-sale debt securities, as of June 30, 2021, were as follows (in thousands):
Estimated
 Fair Value
Due within one year$63,466 
One to two years— 
Total$63,466