Investments - Schedule of Cash Equivalents, and Short term Investments (Details) - USD ($) $ in Thousands |
3 Months Ended |
|
Mar. 31, 2026 |
Mar. 31, 2025 |
Dec. 31, 2025 |
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Total, Amortized Cost |
$ 991,766
|
|
$ 1,057,043
|
| Total, Gross Unrealized Gains |
273
|
|
848
|
| Total, Gross Unrealized Losses |
(2,283)
|
|
(153)
|
| Total Fair Value |
989,756
|
|
1,057,738
|
| Proceeds from sale of cash equivalent investments |
2,000
|
$ 2,000
|
|
| Short-term Investments |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
725,463
|
|
608,405
|
| Short-term investments, Gross Unrealized Gains |
272
|
|
846
|
| Short-term investments, Gross Unrealized Losses |
(2,283)
|
|
(153)
|
| Short-term investments, Total Fair Value |
723,452
|
|
609,098
|
| Asset-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
89,484
|
|
69,433
|
| Short-term investments, Gross Unrealized Gains |
64
|
|
118
|
| Short-term investments, Gross Unrealized Losses |
(130)
|
|
(53)
|
| Short-term investments, Total Fair Value |
89,418
|
|
69,498
|
| Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
19,431
|
|
10,318
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
19,431
|
|
10,318
|
| Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
64,145
|
|
67,967
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
64,145
|
|
67,967
|
| Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
382,446
|
|
334,361
|
| Short-term investments, Gross Unrealized Gains |
169
|
|
592
|
| Short-term investments, Gross Unrealized Losses |
(1,646)
|
|
(73)
|
| Short-term investments, Total Fair Value |
380,969
|
|
334,880
|
| Foreign government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
6,559
|
|
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
|
| Short-term investments, Gross Unrealized Losses |
(11)
|
|
|
| Short-term investments, Total Fair Value |
6,548
|
|
|
| Mortgage-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
913
|
|
912
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
2
|
| Short-term investments, Gross Unrealized Losses |
(2)
|
|
0
|
| Short-term investments, Total Fair Value |
911
|
|
914
|
| Municipal bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
1,011
|
|
3,042
|
| Short-term investments, Gross Unrealized Gains |
1
|
|
4
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
1,012
|
|
3,046
|
| U.S. government agency bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
12,713
|
|
8,614
|
| Short-term investments, Gross Unrealized Gains |
1
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
(37)
|
|
(12)
|
| Short-term investments, Total Fair Value |
12,677
|
|
8,602
|
| U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
140,750
|
|
106,705
|
| Short-term investments, Gross Unrealized Gains |
37
|
|
130
|
| Short-term investments, Gross Unrealized Losses |
(457)
|
|
(15)
|
| Short-term investments, Total Fair Value |
140,330
|
|
106,820
|
| Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
8,011
|
|
7,053
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
8,011
|
|
7,053
|
| Cash equivalents |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
266,303
|
|
448,638
|
| Cash equivalents, Gross Unrealized Gains |
1
|
|
2
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
0
|
| Cash equivalent, Total Fair Value |
266,304
|
|
448,640
|
| Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
1,452
|
|
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
|
| Cash equivalent, Total Fair Value |
1,452
|
|
|
| Short-term investments, Amortized Cost |
|
|
2,501
|
| Short-term investments, Gross Unrealized Gains |
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
|
|
0
|
| Short-term investments, Total Fair Value |
|
|
2,501
|
| Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
50,654
|
|
63,421
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
0
|
| Cash equivalent, Total Fair Value |
50,654
|
|
63,421
|
| Money market funds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
188,407
|
|
359,721
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
0
|
| Cash equivalent, Total Fair Value |
188,407
|
|
359,721
|
| U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
24,774
|
|
21,988
|
| Cash equivalents, Gross Unrealized Gains |
1
|
|
2
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
0
|
| Cash equivalent, Total Fair Value |
24,775
|
|
21,990
|
| Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
1,016
|
|
1,007
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
0
|
| Cash equivalent, Total Fair Value |
1,016
|
|
1,007
|
| Level 1 |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Total Fair Value |
374,395
|
|
501,350
|
| Level 1 | Short-term Investments |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
159,761
|
|
117,138
|
| Level 1 | Asset-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
19,431
|
|
10,318
|
| Level 1 | Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | Foreign government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
|
| Level 1 | Mortgage-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | Municipal bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | U.S. government agency bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
140,330
|
|
106,820
|
| Level 1 | Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 1 | Cash equivalents |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
214,634
|
|
384,212
|
| Level 1 | Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
1,452
|
|
|
| Short-term investments, Total Fair Value |
|
|
2,501
|
| Level 1 | Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
0
|
|
0
|
| Level 1 | Money market funds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
188,407
|
|
359,721
|
| Level 1 | U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
24,775
|
|
21,990
|
| Level 1 | Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
0
|
|
0
|
| Level 2 |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Total Fair Value |
615,361
|
|
556,388
|
| Level 2 | Short-term Investments |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
563,691
|
|
491,960
|
| Level 2 | Asset-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
89,418
|
|
69,498
|
| Level 2 | Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 2 | Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
64,145
|
|
67,967
|
| Level 2 | Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
380,969
|
|
334,880
|
| Level 2 | Foreign government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
6,548
|
|
|
| Level 2 | Mortgage-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
911
|
|
914
|
| Level 2 | Municipal bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
1,012
|
|
3,046
|
| Level 2 | U.S. government agency bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
12,677
|
|
8,602
|
| Level 2 | U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
0
|
|
0
|
| Level 2 | Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
8,011
|
|
7,053
|
| Level 2 | Cash equivalents |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
51,670
|
|
64,428
|
| Level 2 | Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
0
|
|
|
| Short-term investments, Total Fair Value |
|
|
0
|
| Level 2 | Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
50,654
|
|
63,421
|
| Level 2 | Money market funds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
0
|
|
0
|
| Level 2 | U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
0
|
|
0
|
| Level 2 | Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
$ 1,016
|
|
$ 1,007
|