Fair Value Measurements - Information about financial assets measured at fair value on recurring basis (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Jun. 30, 2020 | Mar. 31, 2020 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | $ 679,717 | $ 678,815 |
Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 102,064 | 160,600 |
Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 572,011 | 512,574 |
Restricted cash | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 5,642 | 5,641 |
Money market funds | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 102,064 | 107,663 |
Commercial paper | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 17,283 | 13,334 |
Certificates of deposit | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 23,229 | 14,986 |
Corporate notes and bonds | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 57,120 | 60,319 |
U.S. treasury securities | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 27,938 |
U.S. treasury securities | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 474,379 | 422,333 |
U.S. government agencies | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 24,999 |
U.S. government agencies | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 1,602 |
Money market funds | Restricted cash | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 5,642 | 5,641 |
Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 582,085 | 563,575 |
Level 1 | Money market funds | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 102,064 | 107,663 |
Level 1 | Commercial paper | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 1 | Certificates of deposit | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 1 | Corporate notes and bonds | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 1 | U.S. treasury securities | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 27,938 |
Level 1 | U.S. treasury securities | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 474,379 | 422,333 |
Level 1 | U.S. government agencies | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 0 |
Level 1 | U.S. government agencies | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 0 |
Level 1 | Money market funds | Restricted cash | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 5,642 | 5,641 |
Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 97,632 | 115,240 |
Level 2 | Money market funds | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 2 | Commercial paper | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 17,283 | 13,334 |
Level 2 | Certificates of deposit | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 23,229 | 14,986 |
Level 2 | Corporate notes and bonds | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 57,120 | 60,319 |
Level 2 | U.S. treasury securities | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 0 |
Level 2 | U.S. treasury securities | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 2 | U.S. government agencies | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 24,999 |
Level 2 | U.S. government agencies | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 1,602 |
Level 2 | Money market funds | Restricted cash | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | Money market funds | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | Commercial paper | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | Certificates of deposit | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | Corporate notes and bonds | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | U.S. treasury securities | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 0 |
Level 3 | U.S. treasury securities | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | 0 | 0 |
Level 3 | U.S. government agencies | Cash and cash equivalents: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 0 |
Level 3 | U.S. government agencies | Short-term investments: | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | | 0 |
Level 3 | Money market funds | Restricted cash | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets fair value | $ 0 | $ 0 |