XML 75 R53.htm IDEA: XBRL DOCUMENT v3.22.4
Fair value of financial instruments and investments - Available-for-sale securities (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Debt Securities, Available-for-sale [Line Items]    
Securities in an unrealized loss position less than 12 months - Unrealized losses   $ (673)
Securities in an unrealized loss position less than 12 months - Fair Value   256,801
Securities in an unrealized loss position greater than 12 months - Unrealized losses $ (499) (36)
Securities in an unrealized loss position greater than 12 months - Fair Value 10,186 4,985
Total - Unrealized losses (499) (709)
Total - Fair Value 10,186 261,786
Commercial paper    
Debt Securities, Available-for-sale [Line Items]    
Securities in an unrealized loss position less than 12 months - Unrealized losses   (1)
Securities in an unrealized loss position less than 12 months - Fair Value   12,992
Total - Unrealized losses   (1)
Total - Fair Value   12,992
Corporate debt securities    
Debt Securities, Available-for-sale [Line Items]    
Securities in an unrealized loss position less than 12 months - Unrealized losses   (608)
Securities in an unrealized loss position less than 12 months - Fair Value   217,540
Securities in an unrealized loss position greater than 12 months - Unrealized losses (499) (36)
Securities in an unrealized loss position greater than 12 months - Fair Value 10,186 4,985
Total - Unrealized losses (499) (644)
Total - Fair Value $ 10,186 222,525
Asset-backed securities    
Debt Securities, Available-for-sale [Line Items]    
Securities in an unrealized loss position less than 12 months - Unrealized losses   (5)
Securities in an unrealized loss position less than 12 months - Fair Value   10,786
Total - Unrealized losses   (5)
Total - Fair Value   10,786
Government obligations    
Debt Securities, Available-for-sale [Line Items]    
Securities in an unrealized loss position less than 12 months - Unrealized losses   (59)
Securities in an unrealized loss position less than 12 months - Fair Value   15,483
Total - Unrealized losses   (59)
Total - Fair Value   $ 15,483