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
Sep. 30, 2021
Dec. 31, 2020
Debt Securities, Available-for-sale [Line Items]    
Cash equivalents $ 126,086 $ 482,886
Amortized Cost 277,092 111,876
Unrealized Gains 1 2
Unrealized Losses (21) (11)
Fair Value 277,072 111,867
Total cash equivalents and short-term investments, Amortized Cost 403,178 594,762
Total cash equivalents and short-term investments, Fair Value 403,158 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 128,825 43,911
Fair Value 128,825 43,911
Corporate bonds    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 86,913 47,970
Unrealized Losses (14) (11)
Fair Value 86,899 47,959
Government bonds    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 36,524  
Unrealized Losses (4)  
Fair Value 36,520  
Assetbacked securities    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 24,830  
Unrealized Gains 1  
Unrealized Losses (3)  
Fair Value 24,828  
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 $ 126,086 $ 407,512