Debt (Tables)
9 Months Ended
Jan. 31, 2022
Debt Disclosure [Abstract]  
Schedule of Long-term Debt Instruments The net carrying amount of the Senior Notes was as follows:
As of
January 31, 2022
Principal$575,000 
Unamortized debt issuance costs(8,729)
Net carrying amount$566,271 
Interest Income and Interest Expense Disclosure
The following table sets forth the interest expense recognized related to the Senior Notes:
Nine Months Ended
January 31, 2022
Contractual interest expense$13,441 
Amortization of debt issuance costs554 
Total interest expense related to the Senior Notes$13,995