Cash, cash equivalents, and short-term marketable securities - Narrative (Details) |
Dec. 31, 2023
USD ($)
security
|
Dec. 31, 2022
USD ($)
|
|---|---|---|
| Cash and Cash Equivalents [Abstract] | ||
| Number of securities in an unrealized loss position | security | 1 | |
| Securities in an unrealized loss position, accumulated loss | $ | $ 5,000,000 | |
| Securities in an unrealized loss position greater than 12 months | security | 0 | |
| Charges for credit-related impairments | $ | $ 0 | $ 0 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount excluding accrued interest, of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|