Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Warrants (Details)

v3.19.2
Stockholders' Equity - Warrants (Details)
6 Months Ended
Jun. 30, 2019
$ / shares
shares
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 11.5
Warrants/UPO's outstanding December 31, 2018 18,312,595
Warrants issued for UPO exercises 116,172
Warrants/UPO's exercised, cash (617,296)
Warrants/UPO's exercised, cashless (13,975,359)
Warrants/UPO's outstanding June 30, 2019 3,836,112
Common stock warrant (Series D-1)  
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 5.54
Warrants/UPO's outstanding December 31, 2018 14,866
Warrants/UPO's outstanding June 30, 2019 14,866
Common stock warrants (Series F)  
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 9.22
Warrants/UPO's outstanding December 31, 2018 1,085,059
Warrants/UPO's exercised, cash (400,740)
Warrants/UPO's exercised, cashless (306,917)
Warrants/UPO's outstanding June 30, 2019 377,402
Public Warrants (PHUNW)  
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 11.5
Warrants/UPO's outstanding December 31, 2018 6,900,610
Warrants/UPO's exercised, cashless (5,139,319)
Warrants/UPO's outstanding June 30, 2019 1,761,291
Private Placement Warrants  
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 11.5
Warrants/UPO's outstanding December 31, 2018 10,182,060
Warrants/UPO's exercised, cash (216,556)
Warrants/UPO's exercised, cashless (8,307,123)
Warrants/UPO's outstanding June 30, 2019 1,658,381
Unit Purchase Options (UPOs)  
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 11.5
Warrants/UPO's outstanding December 31, 2018 130,000
Warrants/UPO's exercised, cashless (130,000)
Warrants/UPO's outstanding June 30, 2019 0
Unit Purchase Option Warrants  
Class of Warrant or Right [Line Items]  
Exercise price per share (in dollars per share) | $ / shares $ 11.5
Warrants issued for UPO exercises 116,172
Warrants/UPO's exercised, cashless (92,000)
Total  
Class of Warrant or Right [Line Items]  
Warrants/UPO's exercised, cash (617,296)