v3.26.1
Convertible Notes - Schedule of Changes in Fair Value of Notes and Related Impact (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2026
Apr. 30, 2026
Jul. 31, 2025
Apr. 30, 2025
Jul. 31, 2026
Debt Instrument [Line Items]          
Beginning Balance $ 713,321 $ 720,960 $ 638,823 $ 626,622 $ 720,960
Change in fair value reported in the Condensed Consolidated Statement of Operations 26,528 12,225 43,973 33,429  
Change in fair value reported in Condensed Consolidated Statement of Comprehensive Loss (41,733) $ (19,864) 17,545 $ (21,228)  
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Asset, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration]   Unrealized (Loss) Gain on Convertible Notes, Net of Tax   Unrealized (Loss) Gain on Convertible Notes, Net of Tax  
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]   Debt Securities, Gain (Loss)   Debt Securities, Gain (Loss)  
Ending Balance 698,116 $ 713,321 700,341 $ 638,823 698,116
Remaining unpaid principal         476,000
2028 Notes          
Debt Instrument [Line Items]          
Beginning Balance 621,409 626,648 558,840 547,261 626,648
Change in fair value reported in the Condensed Consolidated Statement of Operations 22,836 12,037 38,352 28,137  
Change in fair value reported in Condensed Consolidated Statement of Comprehensive Loss (35,990) (17,276) 13,471 (16,558)  
Ending Balance 608,255 621,409 610,663 558,840 608,255
Remaining unpaid principal         401,000
2029 Notes          
Debt Instrument [Line Items]          
Beginning Balance 91,912 94,312 79,983 79,361 94,312
Change in fair value reported in the Condensed Consolidated Statement of Operations 3,692 188 5,621 5,292  
Change in fair value reported in Condensed Consolidated Statement of Comprehensive Loss (5,743) (2,588) 4,074 (4,670)  
Ending Balance $ 89,861 $ 91,912 $ 89,678 $ 79,983 89,861
Remaining unpaid principal         $ 75,000