| Molteni Purchase Agreement (Tables) | 6 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Jun. 30, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Molteni Purchase Agreement | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of changes in contract assets and liabilities | The following table presents changes in contract assets and liabilities during the six months ended June 30, 2019 (in thousands): 
 
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||