Investments - Schedule of Cash Equivalents, and Short term Investments (Details) - USD ($) $ in Thousands |
6 Months Ended |
|
Jun. 30, 2026 |
Jun. 30, 2025 |
Dec. 31, 2025 |
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Total, Amortized Cost |
$ 1,566,045
|
|
$ 1,057,043
|
| Total, Gross Unrealized Gains |
110
|
|
848
|
| Total, Gross Unrealized Losses |
(2,601)
|
|
(153)
|
| Total Fair Value |
1,563,554
|
|
1,057,738
|
| Proceeds from sale of cash equivalent investments |
17,800
|
$ 7,500
|
|
| Short-term investments |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
958,660
|
|
608,405
|
| Short-term investments, Gross Unrealized Gains |
110
|
|
846
|
| Short-term investments, Gross Unrealized Losses |
(2,578)
|
|
(153)
|
| Short-term investments, Total Fair Value |
956,192
|
|
609,098
|
| Asset-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
61,072
|
|
69,433
|
| Short-term investments, Gross Unrealized Gains |
24
|
|
118
|
| Short-term investments, Gross Unrealized Losses |
(151)
|
|
(53)
|
| Short-term investments, Total Fair Value |
60,945
|
|
69,498
|
| Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
15,000
|
|
10,318
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
15,000
|
|
10,318
|
| Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
119,427
|
|
67,967
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
119,427
|
|
67,967
|
| Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
445,447
|
|
334,361
|
| Short-term investments, Gross Unrealized Gains |
84
|
|
592
|
| Short-term investments, Gross Unrealized Losses |
(1,415)
|
|
(73)
|
| Short-term investments, Total Fair Value |
444,116
|
|
334,880
|
| Foreign government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
5,627
|
|
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
|
| Short-term investments, Gross Unrealized Losses |
(19)
|
|
|
| Short-term investments, Total Fair Value |
5,608
|
|
|
| Mortgage-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
|
|
912
|
| Short-term investments, Gross Unrealized Gains |
|
|
2
|
| Short-term investments, Gross Unrealized Losses |
|
|
0
|
| Short-term investments, Total Fair Value |
|
|
914
|
| Municipal bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
1,022
|
|
3,042
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
4
|
| Short-term investments, Gross Unrealized Losses |
0
|
|
0
|
| Short-term investments, Total Fair Value |
1,022
|
|
3,046
|
| U.S. government agency bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
12,638
|
|
8,614
|
| Short-term investments, Gross Unrealized Gains |
0
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
(61)
|
|
(12)
|
| Short-term investments, Total Fair Value |
12,577
|
|
8,602
|
| U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
298,427
|
|
106,705
|
| Short-term investments, Gross Unrealized Gains |
2
|
|
130
|
| Short-term investments, Gross Unrealized Losses |
(932)
|
|
(15)
|
| Short-term investments, Total Fair Value |
297,497
|
|
106,820
|
| Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Amortized Cost |
|
|
7,053
|
| Short-term investments, Gross Unrealized Gains |
|
|
0
|
| Short-term investments, Gross Unrealized Losses |
|
|
0
|
| Short-term investments, Total Fair Value |
|
|
7,053
|
| Cash equivalents |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
607,385
|
|
448,638
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
2
|
| Cash equivalents, Gross Unrealized Losses |
(23)
|
|
0
|
| Cash equivalent, Total Fair Value |
607,362
|
|
448,640
|
| Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
|
|
2,501
|
| Cash equivalents, Gross Unrealized Gains |
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
|
|
0
|
| Cash equivalent, Total Fair Value |
|
|
2,501
|
| Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
114,779
|
|
63,421
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
(4)
|
|
0
|
| Cash equivalent, Total Fair Value |
114,775
|
|
63,421
|
| Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
54,948
|
|
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
|
| Cash equivalents, Gross Unrealized Losses |
(14)
|
|
|
| Cash equivalent, Total Fair Value |
54,934
|
|
|
| Money market funds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
332,373
|
|
359,721
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
0
|
|
0
|
| Cash equivalent, Total Fair Value |
332,373
|
|
359,721
|
| U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
105,285
|
|
21,988
|
| Cash equivalents, Gross Unrealized Gains |
0
|
|
2
|
| Cash equivalents, Gross Unrealized Losses |
(5)
|
|
0
|
| Cash equivalent, Total Fair Value |
105,280
|
|
21,990
|
| Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalents, Amortized Cost |
|
|
1,007
|
| Cash equivalents, Gross Unrealized Gains |
|
|
0
|
| Cash equivalents, Gross Unrealized Losses |
|
|
0
|
| Cash equivalent, Total Fair Value |
|
|
1,007
|
| Level 1 |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Total Fair Value |
750,150
|
|
501,350
|
| Level 1 | Short-term investments |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
312,497
|
|
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 |
15,000
|
|
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
|
| 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 |
297,497
|
|
106,820
|
| Level 1 | Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
|
|
0
|
| Level 1 | Cash equivalents |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
437,653
|
|
384,212
|
| Level 1 | Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, 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 | Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
0
|
|
|
| Level 1 | Money market funds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
332,373
|
|
359,721
|
| Level 1 | U.S. government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
105,280
|
|
21,990
|
| Level 1 | Variable rate demand notes |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
|
|
0
|
| Level 2 |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Total Fair Value |
813,404
|
|
556,388
|
| Level 2 | Short-term investments |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
643,695
|
|
491,960
|
| Level 2 | Asset-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
60,945
|
|
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 |
119,427
|
|
67,967
|
| Level 2 | Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
444,116
|
|
334,880
|
| Level 2 | Foreign government bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
5,608
|
|
|
| Level 2 | Mortgage-backed securities |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
|
|
914
|
| Level 2 | Municipal bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
1,022
|
|
3,046
|
| Level 2 | U.S. government agency bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Short-term investments, Total Fair Value |
12,577
|
|
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 |
|
|
7,053
|
| Level 2 | Cash equivalents |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
169,709
|
|
64,428
|
| Level 2 | Certificate of deposits |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
|
|
0
|
| Level 2 | Commercial paper |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
114,775
|
|
63,421
|
| Level 2 | Corporate bonds |
|
|
|
| Debt Securities, Available-for-sale [Line Items] |
|
|
|
| Cash equivalent, Total Fair Value |
54,934
|
|
|
| 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,007
|