Balance Sheet Components - Property and Equipment, Net (Details) - USD ($) $ in Thousands |
Mar. 31, 2024 |
Mar. 31, 2023 |
|---|---|---|
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | $ 110,082 | $ 113,924 |
| Less: accumulated depreciation and amortization | (81,731) | (75,316) |
| Property and equipment, net | 28,351 | 38,608 |
| Computer equipment and software | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 7,485 | 10,376 |
| Laboratory equipment and software | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 51,635 | 52,785 |
| Furniture and office equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 8,929 | 8,946 |
| Leasehold improvements | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | 41,180 | 40,964 |
| Capitalized asset retirement obligations | ||
| Property Plant And Equipment [Line Items] | ||
| Property and equipment, gross | $ 853 | $ 853 |