XML 139 R12.htm IDEA: XBRL DOCUMENT v3.22.2.2
Short-term investments
6 Months Ended
Sep. 30, 2022
Short-Term Investments [Abstract]  
Short-term investments Short-term investments
As of September 30, 2022 and March 31, 2022, the Company's available-for-sale investments by type consisted of the following:
September 30, 2022
Amortized
cost
Gross unrealized
gains
Gross unrealized
losses
Credit LossesFair value
US Government agency bonds$47,268 $$(325)$— $46,944 
US Treasury bonds237,067 (1,126)— 235,946 
     Total$284,335 $$(1,451)$— $282,890 
March 31, 2022
Amortized costGross unrealized gainsGross unrealized lossesCredit LossesFair value
US Government agency bonds26,827 — (139)$— 26,688 
US Treasury bonds264,162 — (1,143)— 263,019 
     Total $290,989 $— $(1,282)$— $289,707 

As of September 30, 2022, available-for-sale securities consisted of investments that mature within one year. As of March 31, 2022, available-for-sale securities consisted of investments that mature within one year, with the exception of certain U.S. Government agency bonds and U.S. Treasury bonds which had maturities between one and two years and an aggregate fair value of $7.6 million.