Nikola posts smaller-than-expected loss on robust hydrogen truck demand