Stock-Based Compensation - Intrinsic Value of Options Exercised and Fair Value of Options Vested (Detail) - USD ($) $ in Thousands  | 
12 Months Ended | ||
|---|---|---|---|
Mar. 31, 2022  | 
Mar. 31, 2021  | 
Mar. 31, 2020  | 
|
| Share-based Payment Arrangement [Abstract] | |||
| Total fair value of options vested | $ 11,495 | $ 4,816 | $ 2,577 | 
| Total intrinsic value of options exercised | $ 68,163 | $ 97,603 | $ 10,890 | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  |