Computation of Net Income (Loss) Per Share Basic and Diluted (Detail) (USD $)
In Thousands, except Per Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Numerator:      
Net income (loss) from continuing operations $ (19,377) $ 957 $ (34,258)
Dividends paid to participating securities (127)   (657)
Dividends paid to participating securities (127)   (657)
Numerator:      
Net income (loss) from continuing operations (19,377) 957 (34,258)
Dividends paid to participating securities (127)   (657)
Dividends paid to participating securities (127)   (657)
Class A      
Numerator:      
Net income (loss) from continuing operations (2,852) 222 (9,900)
Net income (loss) from continuing operations applicable to common stockholders (2,852) 222 (9,900)
Discontinued operations, net of tax 40 199 (264)
Net income (loss) applicable to common stockholders (2,812) 421 (10,164)
Net income (loss) from continuing operations (2,852) 217 (9,900)
Net income (loss) from continuing operations applicable to common stockholders (2,852) 217 (9,900)
Discontinued operations, net of tax 40 195 (264)
Diluted discontinued operations, net of tax 40 195 (264)
Net income (loss) applicable to common stockholders (2,812) 412 (10,164)
Denominator:      
Weighted average number of shares outstanding used to calculate basic net income (loss) per share 5,853 8,816 9,574
Basic net income (loss) per share:      
Net income (loss) from continuing operations applicable to common stockholders $ (0.49) $ 0.03 $ (1.03)
Discontinued operations, net of tax $ 0.01 $ 0.02 $ (0.03)
Basic net income (loss) per share applicable to common stockholders $ (0.48) $ 0.05 $ (1.06)
Numerator:      
Net income (loss) from continuing operations (2,852) 222 (9,900)
Net income (loss) from continuing operations applicable to common stockholders (2,852) 222 (9,900)
Discontinued operations, net of tax 40 199 (264)
Net income (loss) applicable to common stockholders (2,812) 421 (10,164)
Net income (loss) from continuing operations (2,852) 217 (9,900)
Net income (loss) from continuing operations applicable to common stockholders (2,852) 217 (9,900)
Discontinued operations, net of tax 40 195 (264)
Diluted discontinued operations, net of tax 40 195 (264)
Net income (loss) applicable to common stockholders (2,812) 412 (10,164)
Weighted average number of shares outstanding used to calculate basic net income (loss) per share 5,853 8,816 9,574
Weighted average number of shares outstanding used to calculate diluted net income (loss) per share 5,853 8,816 9,574
Diluted net income (loss) per share:      
Net income (loss) from continuing operations applicable to common stockholders $ (0.49) $ 0.03 $ (1.03)
Discontinued operations, net of tax $ 0.01 $ 0.02 $ (0.03)
Diluted net income (loss) per share applicable to common stockholders $ (0.48) $ 0.05 $ (1.06)
Class B      
Numerator:      
Net income (loss) from continuing operations (16,525) 735 (24,358)
Dividends paid to participating securities (127)   (657)
Net income (loss) from continuing operations applicable to common stockholders (16,652) 735 (25,015)
Discontinued operations, net of tax 247 661 (674)
Net income (loss) applicable to common stockholders (16,405) 1,396 (25,689)
Net income (loss) from continuing operations (16,525) 740 (24,358)
Dividends paid to participating securities (127)   (657)
Reallocation of discontinued operations for Class A shares as a result of conversion of Class A to Class B share (2,852) 217 (9,900)
Net income (loss) from continuing operations applicable to common stockholders (19,504) 957 (34,915)
Discontinued operations, net of tax 247 665 (674)
Diluted discontinued operations, net of tax 287 860 (938)
Net income (loss) applicable to common stockholders (19,217) 1,817 (35,853)
Denominator:      
Weighted average number of shares outstanding used to calculate basic net income (loss) per share 34,157 26,798 24,412
Basic net income (loss) per share:      
Net income (loss) from continuing operations applicable to common stockholders $ (0.49) $ 0.03 $ (1.02)
Discontinued operations, net of tax $ 0.01 $ 0.02 $ (0.03)
Basic net income (loss) per share applicable to common stockholders $ (0.48) $ 0.05 $ (1.05)
Numerator:      
Net income (loss) from continuing operations (16,525) 735 (24,358)
Dividends paid to participating securities (127)   (657)
Net income (loss) from continuing operations applicable to common stockholders (16,652) 735 (25,015)
Discontinued operations, net of tax 247 661 (674)
Net income (loss) applicable to common stockholders (16,405) 1,396 (25,689)
Net income (loss) from continuing operations (16,525) 740 (24,358)
Dividends paid to participating securities (127)   (657)
Reallocation of discontinued operations for Class A shares as a result of conversion of Class A to Class B share (2,852) 217 (9,900)
Net income (loss) from continuing operations applicable to common stockholders (19,504) 957 (34,915)
Discontinued operations, net of tax 247 665 (674)
Diluted discontinued operations, net of tax 287 860 (938)
Net income (loss) applicable to common stockholders (19,217) 1,817 (35,853)
Weighted average number of shares outstanding used to calculate basic net income (loss) per share 34,157 26,798 24,412
Weighted average stock options and common shares subject to repurchase or cancellation   1,385  
Conversion of Class A to Class B common shares outstanding 5,853 8,816 9,574
Weighted average number of shares outstanding used to calculate diluted net income (loss) per share 40,010 36,999 33,986
Diluted net income (loss) per share:      
Net income (loss) from continuing operations applicable to common stockholders $ (0.49) $ 0.03 $ (1.02)
Discontinued operations, net of tax $ 0.01 $ 0.02 $ (0.03)
Diluted net income (loss) per share applicable to common stockholders $ (0.48) $ 0.05 $ (1.05)
Class B | Discontinued Operations      
Numerator:      
Reallocation of discontinued operations for Class A shares as a result of conversion of Class A to Class B share 40 195 (264)
Numerator:      
Reallocation of discontinued operations for Class A shares as a result of conversion of Class A to Class B share $ 40 $ 195 $ (264)