XML 34 R5.htm IDEA: XBRL DOCUMENT v3.19.1
CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY - USD ($)
$ in Thousands
Total
Preferred Stock
Common Stock
Additional Paid-in Capital
Treasury Stock
Retained Earnings (Accumulated Deficit)
Beginning balance at Dec. 31, 2013 $ 47,607 $ 0 $ 11 $ 61,930 $ (8,685) $ (5,649)
Increase (Decrease) in Stockholders' Equity            
Net (loss) income 21,477         21,477
Acquisition consideration, net of tax 4,379     4,379    
Stock-based compensation expense 1,409     3,826 (2,417)  
Stock-based compensation net settlement for withholding taxes (430)     (430)    
Excess tax benefit from exercise of stock-based awards 3,298     3,298    
Exercise of private placement warrants 8,743     8,743    
Ending balance at Dec. 31, 2014 86,483 0 11 81,746 (11,102) 15,828
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (2,891)         (2,891)
Stock-based compensation expense 1,278     1,628 (350)  
Stock-based compensation net settlement for withholding taxes (351)     (351)    
Excess tax benefit from exercise of stock-based awards 34     34    
Exercise of private placement warrants 320     320    
Ending balance at Dec. 31, 2015 84,873 0 11 83,377 (11,452) 12,937
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (3,323)          
Ending balance at Mar. 31, 2016 81,900          
Beginning balance at Dec. 31, 2015 84,873 0 11 83,377 (11,452) 12,937
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (32,115)          
Ending balance at Jun. 30, 2016 55,337          
Beginning balance at Dec. 31, 2015 84,873 0 11 83,377 (11,452) 12,937
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (40,832)          
Ending balance at Sep. 30, 2016 46,967          
Beginning balance at Dec. 31, 2015 84,873 0 11 83,377 (11,452) 12,937
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (47,472)         (47,472)
Stock-based compensation expense 1,299     1,428 (129)  
Stock-based compensation net settlement for withholding taxes (110)     (110)    
Exercise of private placement warrants 2,070   1 2,069    
Ending balance at Dec. 31, 2016 40,660 0 12 86,764 (11,581) (34,535)
Beginning balance at Mar. 31, 2016 81,900          
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (28,792)          
Ending balance at Jun. 30, 2016 55,337          
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (8,717)          
Ending balance at Sep. 30, 2016 46,967          
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (6,640)          
Ending balance at Dec. 31, 2016 40,660 0 12 86,764 (11,581) (34,535)
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (24,533)          
Ending balance at Mar. 31, 2017 30,048          
Beginning balance at Dec. 31, 2016 40,660 0 12 86,764 (11,581) (34,535)
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (32,280)          
Ending balance at Jun. 30, 2017 18,210          
Beginning balance at Dec. 31, 2016 40,660 0 12 86,764 (11,581) (34,535)
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (41,482)          
Ending balance at Sep. 30, 2017 6,129          
Beginning balance at Dec. 31, 2016 40,660 0 12 86,764 (11,581) (34,535)
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (47,612)         (47,612)
Acquisition consideration, net of tax (712)     (712)    
Stock-based compensation expense 1,183     (860) 2,043  
Stock-based compensation net settlement for withholding taxes (42)     (42)    
Issuance of common stock to Weichai, net of fees 14,078   2 14,076    
Issuance of Series B convertible preferred stock, net of fees 0 24,617   0    
Deemed dividend on Series B convertible preferred stock (37,860) 37,860   (37,860)    
Conversion of Series B convertible preferred stock to common stock 62,477 (62,477) 5 62,472    
Ending balance at Dec. 31, 2017 32,172 0 19 123,838 (9,538) (82,147)
Beginning balance at Mar. 31, 2017 30,048          
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (7,747)          
Ending balance at Jun. 30, 2017 18,210          
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (9,202)          
Ending balance at Sep. 30, 2017 6,129          
Increase (Decrease) in Stockholders' Equity            
Net (loss) income (6,130)          
Ending balance at Dec. 31, 2017 $ 32,172 $ 0 $ 19 $ 123,838 $ (9,538) $ (82,147)