XML 89 R20.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Debt (as restated) (Tables)
6 Months Ended
Oct. 31, 2023
Debt Disclosure [Abstract]  
Schedule of net carrying amount of the debt component
          
  

October 31,

2023

  

April 30,

2023

 
Principal  $143,750   $143,750 
Unamortized issuance costs   (2,596)   (3,127)
Net carrying amount  $141,154   $140,623 
Schedule of interest expense
                    
  

Three Months Ended

October 31,

  

Six Months Ended

October 31,

 
   2023   2022   2023   2022 
   (as restated)   (as restated)   (as restated)   (as restated) 
Contractual interest expense  $453   $585   $911   $1,132 
Amortization of issuance costs   266    260    531    520 
Total interest expense associated with Convertible Notes  $719   $845   $1,442   $1,652