XML 66 R50.htm IDEA: XBRL DOCUMENT v3.22.4
Cash and Cash equivalents and Short-term investments - Schedule of Cash and Cash Equivalents and Short-Term Investments (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents $ 115,326 $ 208,802
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 537,153 304,804
Unrealized gains 1,086 8
Unrealized losses (1,139) 0
Fair market value 537,100 304,812
Debt securities, available-for-sale and held-to-maturity, Adjusted cost basis 969,425 937,700
Debt securities, available-for-sale and held-to-maturity, Unrealized gains 1,086 8
Debt securities, available-for-sale and held-to-maturity, Unrealized losses (1,139) 0
Debt securities, available-for-sale and held-to-maturity, fair value 969,372 937,708
Debt securities, available-for-sale and held-to-maturity 969,425 937,700
Level 1 | U.S. Treasury bills    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 188,030 199,981
Unrealized gains 8 8
Unrealized losses (540) 0
Fair market value 187,498 199,989
Level 2 | Government and governmental agencies    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 44,357  
Unrealized gains 12  
Unrealized losses (12)  
Fair market value 44,357  
Level 2 | Corporate debt securities    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 304,766 104,823
Unrealized gains 1,066 0
Unrealized losses (587) 0
Fair market value 305,245 104,823
Cash and cash equivalents    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 0  
Debt securities, available-for-sale and held-to-maturity 115,326 208,802
Cash and cash equivalents | Level 2 | Government and governmental agencies    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 0  
Cash and cash equivalents | Level 2 | Corporate debt securities    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 0  
Short-term investments    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 537,153 304,804
Debt securities, available-for-sale and held-to-maturity 854,099 728,898
Short-term investments | Level 1 | U.S. Treasury bills    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 188,030 199,981
Short-term investments | Level 2 | Government and governmental agencies    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 44,357  
Short-term investments | Level 2 | Corporate debt securities    
HTM Securities    
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 304,766 104,823
Cash    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents, fair value 9,697 3,139
Cash | Cash and cash equivalents    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents 9,697 3,139
Money market funds | Level 1    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents, fair value 105,629 64,668
Money market funds | Cash and cash equivalents | Level 1    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents 105,629 64,668
Certificate of deposits and term deposits | Level 2    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents, fair value 316,946 565,089
Certificate of deposits and term deposits | Cash and cash equivalents | Level 2    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents 0 140,995
Certificate of deposits and term deposits | Short-term investments | Level 2    
Debt Securities, Available-for-Sale [Line Items]    
Cash and cash equivalents $ 316,946 $ 424,094