XML 107 R89.htm IDEA: XBRL DOCUMENT v3.21.2
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Income Taxes [Line Items]      
Change in valuation allowance $ 22,300 $ 52,300 $ 3,700
Federal and state net operating loss carryforwards expiration year 2027    
Research and development tax credit carryforwards expiration description federal tax credits will expire at various dates beginning in 2028.    
Unrecognized tax benefits related to federal and California R&D credits $ 22,185 $ 5,787 $ 2,692
Federal Tax      
Income Taxes [Line Items]      
Net operating loss carryforwards 867,600    
Research and development tax credit carryforwards 23,600    
Federal Tax | Internal Revenue Service      
Income Taxes [Line Items]      
Net operating loss carryforwards 761,900    
State Tax      
Income Taxes [Line Items]      
Net operating loss carryforwards 599,500    
Research and development tax credit carryforwards $ 15,800