XML 47 R37.htm IDEA: XBRL DOCUMENT v3.7.0.1
Fair Value Measurements - Summary of Changes in Fair Value of Company's Level 3 Financial Instruments (Details) - Derivative Liability
$ in Thousands
6 Months Ended
Jun. 30, 2017
USD ($)
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]  
Balance as of December 31, 2016 $ 8,795
Issuance of convertible bonds with embedded derivative 13,172
Change in fair value 8,863
Conversion of derivative liability to common stock (29,198)
Balance as of June 30, 2017 (unaudited) $ 1,632