XML 18 R18.htm IDEA: XBRL DOCUMENT v3.20.1
3. Leases (Tables)
9 Months Ended
Jan. 31, 2020
Lessee Disclosure [Abstract]  
Schedule of lease costs
  

Three Months Ended

January 31, 2020

  

Nine Months Ended

January 31, 2020

 
Operating lease cost  $798   $2,570 
Short-term lease cost   83    83 
Variable lease cost   155    488 
Total lease cost  $1,036   $3,141 
Schedule of maturities of operating lease liabilities
Fiscal Year Ending April 30,   Total 
2020 (remaining period)   $735 
2021    2,972 
2022    2,995 
2023    3,010 
2024    3,086 
Thereafter    21,938 
Total lease payments   $34,736 
Less: imputed interest    (11,980)
Total operating lease liabilities   $22,756 
Balance sheet classification of operating lease liabilities
   January 31, 2020 
Operating lease liabilities  $1,172 
Operating lease liabilities, less current portion   21,584 
Total operating lease liabilities  $22,756