XML 52 R39.htm IDEA: XBRL DOCUMENT v3.21.2
NOTES PAYABLE AND DEBT INSTRUMENTS - Summary of the Convertible Notes (Details) - Convertible Debt - Level 3 - USD ($)
$ in Thousands
Jun. 30, 2021
Jun. 30, 2020
Debt Instrument [Line Items]    
Unamortized deferred issuance costs $ 2,477 $ 3,288
Net carrying amount 59,203 56,712
Fair value $ 215,543 $ 123,532