Consolidated Statements of Operations and Comprehensive Income - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2015
Jun. 30, 2014
Jun. 30, 2013
Income Statement [Abstract]      
Revenues $ 595,947 $ 572,464 $ 320,823
Cost of revenues 333,760 318,997 185,489
Gross profit 262,187 253,467 135,334
Operating expenses:      
Research and development 54,565 33,962 20,955
Sales, general and administrative 21,607 23,560 21,775
Business e-mail compromise (BEC) fraud loss 39,137 0 0
Total operating expenses 115,309 57,522 42,730
Income from operations 146,878 195,945 92,604
Interest expense and other, net (1,130) (1,334) (851)
Income before provision for income taxes 145,748 194,611 91,753
Provision for income taxes 16,085 17,674 11,263
Net income and comprehensive income $ 129,663 $ 176,937 $ 80,490
Net income per share of common stock:      
Basic (in dollars per share) $ 1.47 $ 2.02 $ 0.91
Diluted (in dollars per share) $ 1.45 $ 1.97 $ 0.89
Weighted average shares used in computing net income per share of common stock:      
Basic (in shares) 88,008 87,772 88,314
Diluted (in shares) 89,569 89,715 90,259
Cash dividends declared per common share (in dollars per share) $ 0.17 $ 0 $ 0.18