XML 57 R35.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Numerator:        
Net income (loss) - basic $ (20,829) $ 47,663 $ (120,434) $ 85
Change in fair value of financial instruments   (6,700)    
Net income (loss) - diluted $ (20,829) $ 40,963 $ (120,434) $ 85
Denominator for basic and diluted weighted average shares of common stock outstanding:        
Weighted average common shares outstanding for basic 15,440 14,587 15,164 14,570
Dilutive potential common stock outstanding:        
Stock options and Employee Stock Purchase Plan (ESPP)   28    
Convertible senior notes   22,000    
Weighted average common shares outstanding for diluted 15,440 36,615 15,164 14,570
Basic net income (loss) per share $ (1.35) $ 3.27 $ (7.94) $ 0.01
Diluted net income (loss) per share $ (1.35) $ 1.12 $ (7.94) $ 0.01