Quarterly report pursuant to Section 13 or 15(d)

CASH EQUIVALENTS AND SHORT-TERM INVESTMENTS (Details)

v3.21.2
CASH EQUIVALENTS AND SHORT-TERM INVESTMENTS (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents $ 180,998 $ 482,886
Amortized Cost 326,331 111,876
Unrealized Gains 11 2
Unrealized losses (24) (11)
Fair Value 326,318 111,867
Total cash equivalents and short-term investments, Amortized Cost 507,329 594,762
Total cash equivalents and short-term investments, Fair Value 507,316 594,753
U.S Treasury securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost   19,995
Unrealized Gains   2
Fair Value   19,997
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 159,591 43,911
Fair Value 159,591 43,911
Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 104,758 47,970
Unrealized Gains 9  
Unrealized losses (12) (11)
Fair Value 104,755 47,959
Government bonds    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 36,736  
Unrealized Gains 1  
Unrealized losses (9)  
Fair Value 36,728  
Assetbacked securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 25,246  
Unrealized Gains 1  
Unrealized losses (3)  
Fair Value 25,244  
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents   75,374
Money market funds    
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents $ 180,998 $ 407,512