Fair Value Measurements and Fair Value of Financial Instruments - Additional Information (Details) $ in Millions |
6 Months Ended | 12 Months Ended |
|---|---|---|
|
Jun. 30, 2024
USD ($)
security
|
Dec. 31, 2023
USD ($)
|
|
| Fair Value Disclosures [Abstract] | ||
| Marketable securities in an unrealized loss | $ 160.2 | $ 71.3 |
| Allowance for credit losses | $ 0.0 | 0.0 |
| Number of securities, unrealized loss position | security | 45 | |
| Impairment charges on available-for-sale securities | $ 0.0 | $ 0.0 |
| X | ||||||||||
- Definition Amount 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 Amount of writeoff 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 Amount of 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. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| 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
|
| X | ||||||||||
- References No definition available.
|