XML 35 R22.htm IDEA: XBRL DOCUMENT v3.21.2
3. Debt (Tables)
12 Months Ended
Apr. 30, 2021
Debt Disclosure [Abstract]  
Schedule of net carrying amount of the debt component

The net carrying amount of the debt component of the Convertible Notes is as follows (in thousands):

 

   April 30, 2021 
Principal  $143,750 
Unamortized debt discount   (43,189)
Unamortized issuance costs   (3,612)
Net carrying amount  $96,949 
Schedule of net carrying amount of the equity component

The net carrying amount of the equity component of the Convertible Notes is as follows (in thousands):

 

   April 30, 2021 
Equity component (debt discount)  $44,051 
Issuance costs   (1,620)
Net carrying amount  $42,431 
Schedule of Interest expense

Interest expense recognized related to the Convertible Notes is as follows (in thousands):

 

  

Year Ended

April 30, 2021

 
Contractual interest expense  $245 
Amortization of debt discount   862 
Amortization of issuance costs   54 
Total interest expense  $1,161