Commitments and contingencies - Manufacturing commitments (Details) - USD ($)
$ in Thousands
Sep. 30, 2018
Mar. 31, 2018
Commitments and contingencies    
Minimum payments committed to manufacturing organization $ 3,283 $ 2,938