XML 58 R51.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Weichai Transactions - Valuation and Accounting for Issuance and Conversion of Common Stock, Preferred Stock (and Related Beneficial Conversion Feature) and Warrants (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Nov. 30, 2017
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Subsidiary, Sale of Stock [Line Items]                      
Warrant, current   $ 35,100 $ 43,900 $ 33,700 $ 0 $ 0       $ 35,100 $ 0
Loss from change in fair value of warrants   (8,800) $ 10,200 $ 6,500 $ 2,500 1,500 $ 1,700 $ 800 $ 0 10,400 4,000
Carrying value of the common stock and series b preferred stock   39,300               39,300  
Aggregate remaining proceeds                   38,700  
Proceeds allocated based on related fair value, net of transaction costs                   24,600  
Transaction costs                   400  
Deemed dividend recorded in additional paid in capital                   37,900  
Carrying value of preferred stock   $ 62,500         $ 31,410 $ 27,807 $ 24,617 $ 62,500  
Par value (in dollars per share)   $ 0.001               $ 0.001  
Conversion price (in dollars per share) $ 4.85                    
Common stock                      
Subsidiary, Sale of Stock [Line Items]                      
Proceeds allocated to common stock                   $ 14,300  
Redeemable Convertible Series B Preferred Stock                      
Subsidiary, Sale of Stock [Line Items]                      
Proceeds allocated to Series B Preferred Stock                   25,000  
Fully accreted discount                   14,100  
Share Purchase Agreement, Weichai Transaction                      
Subsidiary, Sale of Stock [Line Items]                      
Weichai Warrant liability   $ 35,100               $ 35,100  
Warrant, current           $ 24,700         $ 24,700
Share Purchase Agreement, Weichai Transaction | Redeemable Convertible Series B Preferred Stock                      
Subsidiary, Sale of Stock [Line Items]                      
Beneficial conversion feature $ 23,100                    
Issuance of redeemable convertible Series B Preferred Stock, net of fees (in shares) 4,771,248                   4,771,000